aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-16 19:14:29 +0100
committerIsmaël Bouya <ismael.bouya@normalesup.org>2018-03-16 20:13:46 +0100
commit69da835d04e741f4e85da3c473ba86c8801931fd (patch)
tree0cfb28cfd468a5b681f2b5af2b935c81d2221950 /scripts
parentc15f2234474ff8a8266e26856702b3c561050667 (diff)
downloadPuppet-69da835d04e741f4e85da3c473ba86c8801931fd.tar.gz
Puppet-69da835d04e741f4e85da3c473ba86c8801931fd.tar.zst
Puppet-69da835d04e741f4e85da3c473ba86c8801931fd.zip
Merge install scripts
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ovh_cloud_instance/arch_host_script.sh2
-rwxr-xr-xscripts/send_and_run.tcl2
2 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ovh_cloud_instance/arch_host_script.sh b/scripts/ovh_cloud_instance/arch_host_script.sh
index c188514..3408563 100755
--- a/scripts/ovh_cloud_instance/arch_host_script.sh
+++ b/scripts/ovh_cloud_instance/arch_host_script.sh
@@ -29,7 +29,7 @@ sudo mount "$DEVICE" /mnt
29for i in /mnt/*; do 29for i in /mnt/*; do
30 if [ "$i" = "/mnt/boot" ]; then 30 if [ "$i" = "/mnt/boot" ]; then
31 # keep /boot/grub 31 # keep /boot/grub
32 sudo rm -f $i/* 32 sudo rm -f $i/* || true
33 else 33 else
34 sudo rm -rf $i 34 sudo rm -rf $i
35 fi 35 fi
diff --git a/scripts/send_and_run.tcl b/scripts/send_and_run.tcl
index a087a2d..42fae62 100755
--- a/scripts/send_and_run.tcl
+++ b/scripts/send_and_run.tcl
@@ -6,7 +6,7 @@ set environment [lindex $argv 3]
6set script [lindex $argv 4] 6set script [lindex $argv 4]
7set files [lrange $argv 4 end] 7set files [lrange $argv 4 end]
8 8
9if {$password == ""} { 9if {$password == "x"} {
10 set ask_password 0 10 set ask_password 0
11} else { 11} else {
12 set ask_password 1 12 set ask_password 1