unix:virtualization:virtlib:importxen
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| unix:virtualization:virtlib:importxen [2022/05/08 22:30] – rodolico | unix:virtualization:virtlib:importxen [2022/05/19 23:28] (current) – rodolico | ||
|---|---|---|---|
| Line 15: | Line 15: | ||
| name=' | name=' | ||
| - | # change the MAC address to be unique. | + | # change the MAC address to be unique. |
| # change the vifname so it shows up well on ifconfig output | # change the vifname so it shows up well on ifconfig output | ||
| vif= [ | vif= [ | ||
| Line 39: | Line 39: | ||
| </ | </ | ||
| - | To do this, will run virt-install | + | To do this, will run virt-install |
| <code bash> | <code bash> | ||
| - | virt-install \ | + | virt-install |
| + | | ||
| --hvm \ | --hvm \ | ||
| | | ||
| - | --import | + | --name |
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| | | ||
| + | | ||
| + | | ||
| | | ||
| + | | ||
| + | | ||
| + | > test.xml | ||
| + | </ | ||
| + | |||
| + | The items marked **CHANGEME** in the above command are all populated from a Xen configuration file. **NOTE**: it is very important to place the boot drive first in the list, before any other drives or cdrom' | ||
| + | |||
| + | <code xml> | ||
| + | <code bash> | ||
| + | | ||
| + | | ||
| + | --hvm \ | ||
| + | | ||
| | | ||
| - | | ||
| - | | ||
| | | ||
| | | ||
| | | ||
| - | | ||
| | | ||
| - | | + | --noautoconsole \ |
| + | | ||
| + | | ||
| + | | ||
| + | --network | ||
| + | > test.xml | ||
| </ | </ | ||
| - | The items after //name// in the above command are all populated from a Xen configuration file. **NOTE**: it is very important to place the boot drive first in the list, before any other drives or cdrom' | ||
| + | Once you have this done, edit the resulting file with any changes you may need. I change the CPU as per [[unix: | ||
| + | |||
| + | Now, shut down the virtual on its Xen hypervisor and test it with the following command: <code bash> | ||
| + | |||
| + | If all works well, shut down the virtual, then make the definition permanent with <code bash> | ||
| + | You are done. | ||
unix/virtualization/virtlib/importxen.1652067020.txt.gz · Last modified: 2022/05/08 22:30 by rodolico
