„sysprep-ubuntu.sh“ ändern

This commit is contained in:
2022-03-07 22:07:29 +01:00
parent 18e7135d7e
commit 43d54da552

View File

@ -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