Difference between revisions of "Network/Procedures/Create a Makers Local VM host"
From Makers Local 256
< Network
m |
m (alsdjfoidsa) |
||
Line 8: | Line 8: | ||
* Make a new volume group called vm4_storage and include partition 3 as the first PV. | * Make a new volume group called vm4_storage and include partition 3 as the first PV. | ||
+ | |||
+ | * Run this on an existing VM host to get a list of packages to copy to the new host. | ||
+ | <code> | ||
+ | dpkg --get-selections > vmhost.dpkg-selections | ||
+ | </code> | ||
+ | |||
+ | * After copying that file to the new host, do this on the new host to install those packages. | ||
+ | <code> | ||
+ | sudo dpkg --set-selections < vmhost.dpkg-selections | ||
+ | sudo apt-get -y update | ||
+ | sudo apt-get dselect-upgrade | ||
+ | </code> |
Revision as of 23:31, 9 January 2015
- Create this disk layout.
Number Start End Size Type File system Flags
1 1049kB 48.0GB 48.0GB primary ext4 boot
2 48.0GB 50.0GB 2000MB primary linux-swap(v1)
3 50.0GB (rest of disk) primary lvm
- Make a new volume group called vm4_storage and include partition 3 as the first PV.
- Run this on an existing VM host to get a list of packages to copy to the new host.
dpkg --get-selections > vmhost.dpkg-selections
- After copying that file to the new host, do this on the new host to install those packages.
sudo dpkg --set-selections < vmhost.dpkg-selections
sudo apt-get -y update
sudo apt-get dselect-upgrade