Skip to content

Latest commit

 

History

History
13 lines (12 loc) · 564 Bytes

export_todo.md

File metadata and controls

13 lines (12 loc) · 564 Bytes

VM export TODO list:

  1. Run setup script (https://raw.githubusercontent.com/nesfit/PDS-VM/master/install.sh) and halt
  2. Zerofree root partition (https://unix.stackexchange.com/a/310467)
    1. Boot to recovery mode (Shift while booting / Advanced / recovery mode / root)
    2. Edit /etc/fstab to add ,ro parameter to the root partition
    3. Reboot to recovery mode
    4. zerofree -v $(findmnt -n -o source /)
    5. mount -o remount, rw /
    6. Edit /etc/fstab to remove ,ro parameter of the root partition
    7. halt
  3. Take snapshot
  4. Export appliance