mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-17 20:11:17 +00:00
Update vault_setup.sh
This commit is contained in:
parent
35f3913b91
commit
f8cf049e08
@ -62,7 +62,7 @@ apt-get -qqy install \
|
|||||||
build-essential &>/dev/null
|
build-essential &>/dev/null
|
||||||
|
|
||||||
echo -e "${CHECKMARK} \e[1;92m Installing Rust... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Installing Rust... \e[0m"
|
||||||
curl https://sh.rustup.rs -sSf | sh &>/dev/null
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s &>/dev/null
|
||||||
echo 'export PATH=~/.cargo/bin:$PATH' >> ~/.bashrc &>/dev/null
|
echo 'export PATH=~/.cargo/bin:$PATH' >> ~/.bashrc &>/dev/null
|
||||||
export PATH=~/.cargo/bin:$PATH &>/dev/null
|
export PATH=~/.cargo/bin:$PATH &>/dev/null
|
||||||
which rustc &>/dev/null
|
which rustc &>/dev/null
|
||||||
@ -142,4 +142,4 @@ systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//')
|
|||||||
systemctl enable vaultwarden.service &>/dev/null
|
systemctl enable vaultwarden.service &>/dev/null
|
||||||
systemctl start vaultwarden.service &>/dev/null
|
systemctl start vaultwarden.service &>/dev/null
|
||||||
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m"
|
||||||
rm -rf /vault_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
rm -rf /vault_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*
|
||||||
|
Loading…
Reference in New Issue
Block a user