aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
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