„sysprep-ubuntu.sh“ ändern
This commit is contained in:
@ -60,7 +60,6 @@ if hostname | grep localhost; then
|
|||||||
hostnamectl set-hostname "$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13 ; echo '')"
|
hostnamectl set-hostname "$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 13 ; echo '')"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
test -f /etc/machine-id || systemd-machine-id-setup
|
|
||||||
test -f /etc/ssh/ssh_host_dsa_key || dpkg-reconfigure openssh-server
|
test -f /etc/ssh/ssh_host_dsa_key || dpkg-reconfigure openssh-server
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
Reference in New Issue
Block a user