Make hostname modscript fail on error
This commit is contained in:
parent
03dc264fa5
commit
b6c0e9e0e6
@ -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