diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-16 19:14:29 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2018-03-16 20:13:46 +0100 |
commit | 69da835d04e741f4e85da3c473ba86c8801931fd (patch) | |
tree | 0cfb28cfd468a5b681f2b5af2b935c81d2221950 /scripts | |
parent | c15f2234474ff8a8266e26856702b3c561050667 (diff) | |
download | Puppet-69da835d04e741f4e85da3c473ba86c8801931fd.tar.gz Puppet-69da835d04e741f4e85da3c473ba86c8801931fd.tar.zst Puppet-69da835d04e741f4e85da3c473ba86c8801931fd.zip |
Merge install scripts
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ovh_cloud_instance/arch_host_script.sh | 2 | ||||
-rwxr-xr-x | scripts/send_and_run.tcl | 2 |
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 | |||
29 | for i in /mnt/*; do | 29 | for 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] | |||
6 | set script [lindex $argv 4] | 6 | set script [lindex $argv 4] |
7 | set files [lrange $argv 4 end] | 7 | set files [lrange $argv 4 end] |
8 | 8 | ||
9 | if {$password == ""} { | 9 | if {$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 |