2006-02-05 13:12:58 by steve
Add the 'vif' line to the Xen configuration files in /etc/xen, so they will have networking in Xen 3.0.1
This commit is contained in:
@@ -344,7 +344,7 @@ Install an X11 server, using VNC and XDM
|
|||||||
--
|
--
|
||||||
http://www.steve.org.uk/
|
http://www.steve.org.uk/
|
||||||
|
|
||||||
$Id: xen-create-image,v 1.84 2006-01-21 22:23:10 steve Exp $
|
$Id: xen-create-image,v 1.85 2006-02-05 13:12:58 steve Exp $
|
||||||
|
|
||||||
=cut
|
=cut
|
||||||
|
|
||||||
@@ -694,6 +694,7 @@ memory = $CONFIG{'memory'}
|
|||||||
name = "$CONFIG{'hostname'}"
|
name = "$CONFIG{'hostname'}"
|
||||||
disk = [ 'file:$image,sda1,w','file:$swap,sda2,w' ]
|
disk = [ 'file:$image,sda1,w','file:$swap,sda2,w' ]
|
||||||
root = "/dev/sda1 ro"
|
root = "/dev/sda1 ro"
|
||||||
|
vif = ['']
|
||||||
E_O_XEN
|
E_O_XEN
|
||||||
if ( $CONFIG{'dhcp'} )
|
if ( $CONFIG{'dhcp'} )
|
||||||
{
|
{
|
||||||
@@ -889,7 +890,7 @@ sub parseCommandLineArguments
|
|||||||
|
|
||||||
if ( $VERSION )
|
if ( $VERSION )
|
||||||
{
|
{
|
||||||
my $REVISION = '$Revision: 1.84 $';
|
my $REVISION = '$Revision: 1.85 $';
|
||||||
|
|
||||||
if ( $REVISION =~ /1.([0-9.]+) / )
|
if ( $REVISION =~ /1.([0-9.]+) / )
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user