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 | ||
-- Bonus -- | |||
# apt update ; apt upgrade |
Revision as of 20:10, 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