Quote hostname

This commit is contained in:
Fierelier 2022-08-22 11:08:06 +02:00
parent f4429f6a78
commit fa85334274

View File

@ -1,2 +1,2 @@
#!/bin/bash #!/bin/bash
echo $(head -c4 </dev/urandom|xxd -p -u) >"$1/etc/hostname" echo "$(head -c4 </dev/urandom|xxd -p -u)" >"$1/etc/hostname"