Make hostname modscript fail on error
This commit is contained in:
parent
202f6963fe
commit
f02d0d048d
@ -1,2 +1,3 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
echo "$(head -c4 </dev/urandom|xxd -p -u)" >"$1/etc/hostname"
|
Loading…
Reference in New Issue
Block a user