Ubuntu/sysprep: Difference between revisions

From Omnia
Jump to navigation Jump to search
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:

  1. /etc/hostname
  2. /etc/hosts
  3. /etc/netplan
  4. Regen Ubuntu/machine-id
  5. Ubuntu/regen ssh host keys
  6. Clear history file
  7. Clear log files

-- Bonus --

  1. apt update ; apt upgrade