* Only add a VDE NIC if there is a webserver.
svn path=/nixos/trunk/; revision=25986
This commit is contained in:
@@ -93,7 +93,8 @@ let
|
||||
''
|
||||
createDisk("harddisk", 4 * 1024);
|
||||
|
||||
my $machine = createMachine({ hda => "harddisk", cdrom => glob("${iso}/iso/*.iso"), qemuFlags => '${qemuNICFlags 1 1 1}' });
|
||||
my $machine = createMachine({ hda => "harddisk", cdrom => glob("${iso}/iso/*.iso"),
|
||||
qemuFlags => '${if testChannel then qemuNICFlags 1 1 1 else ""}'});
|
||||
$machine->start;
|
||||
|
||||
${optionalString testChannel ''
|
||||
|
||||
Reference in New Issue
Block a user