Ubuntu/sysprep: Difference between revisions
< Ubuntu
No edit summary |
|||
Line 10: | Line 10: | ||
# Clear history file | # Clear history file | ||
# Clear log files | # Clear log files | ||
# poweroff | |||
-- Bonus -- | -- Bonus -- |
Revision as of 20:14, 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
- poweroff
-- Bonus --
- apt update ; apt upgrade
- /etc/ssh/sshd
- ansible
- ssh keys