proxmox:lxc:lxc-template
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| proxmox:lxc:lxc-template [2022/01/14 12:43] – [Modifying or Updating] chuck | proxmox:lxc:lxc-template [2022/01/14 12:47] (current) – [Modifying or Updating] chuck | ||
|---|---|---|---|
| Line 125: | Line 125: | ||
| sudo pct enter 250 | sudo pct enter 250 | ||
| </ | </ | ||
| - | * Do stuff:< | + | * Do stuff: |
| - | # Update/ | + | * Update the system:< |
| - | # Install new stuff | + | apt update && apt upgrade |
| - | # Add new dotfiles | + | |
| </ | </ | ||
| + | * Install some packages | ||
| + | * Add new dotfiles | ||
| + | * And so on.. | ||
| * Exit back to Proxmox:< | * Exit back to Proxmox:< | ||
| exit | exit | ||
| </ | </ | ||
| * Remove the network device:< | * Remove the network device:< | ||
| - | [user@proxmox]$ | + | sudo pct set 250 --delete net0 |
| </ | </ | ||
| * Create the backup:< | * Create the backup:< | ||
| vzdump 250 --mode stop --compress gzip --dumpdir / | vzdump 250 --mode stop --compress gzip --dumpdir / | ||
| </ | </ | ||
| - | * Rename the backup if you like:<code bash> | + | * You can leave it as is or rename it to something: |
| + | * Change directories:<code bash> | ||
| cd / | cd / | ||
| + | </ | ||
| + | * Rename it:<code bash> | ||
| sudo mv new_vz_dump.tar.gz custom_debian_10.5.tar.gz | sudo mv new_vz_dump.tar.gz custom_debian_10.5.tar.gz | ||
| </ | </ | ||
proxmox/lxc/lxc-template.1642164235.txt.gz · Last modified: by chuck
