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