diff --git a/instance-scripts/cloud-init.yml b/instance-scripts/cloud-init.yml index 2d44f44409266bc21b56a73bec212f77cf93daf4..faad95a21199500a9237522fe90f432db897c727 100644 --- a/instance-scripts/cloud-init.yml +++ b/instance-scripts/cloud-init.yml @@ -51,8 +51,7 @@ runcmd: # # Install Rust # - - "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y" - - "source \"$HOME/.cargo/env\"" + - "curl https://forge.grandlyon.com/systemes-dinformation/alpha/projects/labo-rust/-/raw/develop/instance-scripts/scripts/rust.sh | bash" # # Install Docker # diff --git a/instance-scripts/scripts/rust.sh b/instance-scripts/scripts/rust.sh index a2adbf68e96814afcc877aaab8f3eac73b9afac4..21df85f4b32fe2ead4be19dd72266633f1436f47 100644 --- a/instance-scripts/scripts/rust.sh +++ b/instance-scripts/scripts/rust.sh @@ -5,4 +5,4 @@ # curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y -source \"$HOME/.cargo/env\" \ No newline at end of file +source "$HOME/.cargo/env" \ No newline at end of file