Skip to content

Commit

Permalink
Improve comments for the guest-related sample configuration files.
Browse files Browse the repository at this point in the history
  • Loading branch information
pgj committed Apr 27, 2022
1 parent 238ddbb commit 55c1610
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
8 changes: 6 additions & 2 deletions etc/interfaces.conf.sample
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# This is an iface stanza for interfaces(5) with relatively sane
# defaults. Consult http://manpages.org/etc-network-interfaces/5 for
# more. The purpose is to bring up an interface which would be the
# default gateway.
# more.
#
# The purpose is to bring up an interface on the guest which would be
# the default gateway for the host. Here, `eth0` is the networking
# interface of the virtual Ethernet card. Change these values only if
# the 10.0.0.0/24 network is not suitable.

iface eth0 inet static
address 10.0.0.1
Expand Down
10 changes: 7 additions & 3 deletions etc/udhcpd.conf.sample
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# This is configuration file for udhcpd(8) with relatively sane
# defaults. Consult https://udhcp.busybox.net/udhcpd.conf for more.
# The interface should match with the one defined in the
# interfaces.conf file: router is the address and subnet is the
# netmask.
#
# The value of `interface` should match with the one defined in the
# interfaces.conf file: `interface` should be exactly the same,
# `router` should correspond to `address` and `subnet` is the
# `netmask`. According to these settings below, the IP addresses are
# handed out for the 10.0.0.0/24 network. Change these only if this
# is not suitable.

start 10.0.0.2
end 10.0.0.254
Expand Down

0 comments on commit 55c1610

Please sign in to comment.