mirror of
https://github.com/fspc/gbootroot.git
synced 2025-03-04 03:43:23 -05:00
Nicer network expl for new uml behavior.
This commit is contained in:
parent
90a93eba65
commit
faeba22f20
@ -163,15 +163,18 @@ $Id
|
|||||||
/etc/hosts.deny
|
/etc/hosts.deny
|
||||||
|
|
||||||
# Network stuff
|
# Network stuff
|
||||||
# You will want to edit the interfaces file.
|
#
|
||||||
# Remember to load any needed modules on the host system, for instance
|
# You will want to edit the /etc/network/interfaces file.
|
||||||
# if tap is used, you will want to do this:
|
# Make sure your host system kernel has the proper capabilities compiled
|
||||||
# modprobe ethertap
|
# or the appropriate module, for instance if tap is used you need the
|
||||||
# modprobe netlink_dev
|
# ethertap and netlink_dev modules.
|
||||||
|
#
|
||||||
# And when you start your creation with the uml box you will want to add
|
# And when you start your creation with the uml box you will want to add
|
||||||
# something like this to the options where HWaddr (see ifconfig) belongs
|
# something like this to the options where HWaddr (see ifconfig) belongs
|
||||||
# to your network device:
|
# to your network device:
|
||||||
|
#
|
||||||
# eth0=ethertap,tap0,HWaddr,192.168.1.5
|
# eth0=ethertap,tap0,HWaddr,192.168.1.5
|
||||||
|
#
|
||||||
/etc/resolv.conf
|
/etc/resolv.conf
|
||||||
/etc/hosts <= Replacements/etc/hosts
|
/etc/hosts <= Replacements/etc/hosts
|
||||||
/root/umlnet <= Replacements/root/umlnet # Example network setup script
|
/root/umlnet <= Replacements/root/umlnet # Example network setup script
|
||||||
@ -243,7 +246,7 @@ return $stuff;
|
|||||||
use strict;
|
use strict;
|
||||||
use File::Basename;
|
use File::Basename;
|
||||||
my $rm = "\$";
|
my $rm = "\$";
|
||||||
$main::Id = "# \$Id: make_debian,v 1.59 2001/12/13 04:21:32 freesource Exp $rm";
|
$main::Id = "# \$Id: make_debian,v 1.60 2001/12/13 05:43:27 freesource Exp $rm";
|
||||||
my $sbin = grep(/\/usr\/sbin/,$ENV{'PATH'});
|
my $sbin = grep(/\/usr\/sbin/,$ENV{'PATH'});
|
||||||
if ($sbin == 0) {
|
if ($sbin == 0) {
|
||||||
$ENV{'PATH'} = "/usr/sbin:" . $ENV{'PATH'};
|
$ENV{'PATH'} = "/usr/sbin:" . $ENV{'PATH'};
|
||||||
@ -764,15 +767,3 @@ sub start_up {
|
|||||||
|
|
||||||
|
|
||||||
} # end start_up
|
} # end start_up
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user