Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
vms:ipfire [2015/03/31 18:25] admin |
vms:ipfire [2015/03/31 18:54] admin [Create VM configuration file] |
||
---|---|---|---|
Line 68: | Line 68: | ||
name = "ipfire" | name = "ipfire" | ||
vcpus=1 # adjust as needed, though a single processor is fine | vcpus=1 # adjust as needed, though a single processor is fine | ||
- | + | ||
# this is the heart of the matter, setting up the correct network interfaces | # this is the heart of the matter, setting up the correct network interfaces | ||
# the bridge should match your configuration (must be defined to Xen) | # the bridge should match your configuration (must be defined to Xen) | ||
Line 74: | Line 74: | ||
# vifname simply allows you to find the interface from the DOM0 using ifconfig | # vifname simply allows you to find the interface from the DOM0 using ifconfig | ||
vif = [ | vif = [ | ||
- | 'mac=00:17:3e:be:b1:1a, bridge=xenbr0,vifname=fw_red', ## Red | + | 'mac=00:17:3e:be:b1:1a, bridge=xenbr0,vifname=fw_green', ## Green |
- | 'mac=00:17:3e:be:b1:1b, bridge=xenbr1,vifname=fw_orange', ## Orange | + | 'mac=00:17:3e:be:b1:1b, bridge=xenbr1,vifname=fw_red', ## Red |
- | 'mac=00:17:3e:be:b1:1c, bridge=xenbr2,vifname=fw_green', ## Green | + | # 'mac=00:17:3e:be:b1:1c, bridge=xenbr2,vifname=fw_blue', ## Blue |
- | 'mac=00:17:3e:be:b1:1d, bridge=xenbr3,vifname=fw_blue', ## Blue | + | # 'mac=00:17:3e:be:b1:1d, bridge=xenbr3,vifname=fw_orange', ## Orange |
] | ] | ||
- | + | ||
# points to the storage used for this DOMU | # points to the storage used for this DOMU | ||
disk = [ | disk = [ | ||
- | 'phy:/dev/vg0/ipfire,hda,w', | + | 'file:/opt/xen/X-Local-VMS/ipfire,hda,w', |
+ | # for LVM partitions: 'phy:/dev/vg0/ipfire,hda,w', | ||
] | ] | ||
- | + | ||
- | + | ||
localtime=0 # take time from server clock | localtime=0 # take time from server clock | ||
serial='pty' # allow us to connect from xl console | serial='pty' # allow us to connect from xl console | ||
Line 95: | Line 96: | ||
usbdevice='tablet' | usbdevice='tablet' | ||
# do not use VNC since console is redirected to DOM0 | # do not use VNC since console is redirected to DOM0 | ||
- | #vnc=1 | + | #vnc=1 |
#vncdisplay=1 | #vncdisplay=1 | ||
</code> | </code> | ||
+ | |||
+ | ---- | ||
+ | ==== Start the VM ==== | ||
+ | ---- | ||
+ | |||
==== STOP ==== | ==== STOP ==== | ||
++++ Deprecated method (click to see) | | ++++ Deprecated method (click to see) | |