Ubuntu/sysprep: Difference between revisions
< Ubuntu
Line 14: | Line 14: | ||
# apt update ; apt upgrade | # apt update ; apt upgrade | ||
# /etc/ssh/sshd | |||
# ansible | |||
# ssh keys |
Revision as of 20:12, 4 February 2024
Sysprep
What to do after cloning an Ubuntu Image:
- /etc/hostname
- /etc/hosts
- /etc/netplan
- Regen Ubuntu/machine-id
- Ubuntu/regen ssh host keys
- Clear history file
- Clear log files
-- Bonus --
- apt update ; apt upgrade
- /etc/ssh/sshd
- ansible
- ssh keys