Commit f5054b4f authored by Mike Hibler's avatar Mike Hibler

Don't run FreeBSD rc.kname in a Xen VM.

parent 6b5d23fd
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2004, 2005 University of Utah and the Flux Group.
# Copyright (c) 2004-2012 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -10,6 +10,15 @@ use Getopt::Std;
# Turn off line buffering on output
$| = 1;
# Drag in path stuff so we can find emulab stuff.
BEGIN { require "/etc/emulab/paths.pm"; import emulabpaths; }
use libsetup;
# XXX right now Xen FreeBSD guests don't have kernel files.
exit(0)
if (INXENVM());
#
# Check to see what the kernel says was booted, and copy to /kernel.
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment