Merge "Add network configuration templates"
This commit is contained in:
commit
d9a990396a
5
labs/lib/osbash/templates/template-fedora-ifcfg-hostonly
Normal file
5
labs/lib/osbash/templates/template-fedora-ifcfg-hostonly
Normal file
@ -0,0 +1,5 @@
|
||||
DEVICE=%IF_NAME%
|
||||
ONBOOT=yes
|
||||
BOOTPROTO=none
|
||||
IPADDR=%IP_ADDRESS%
|
||||
NETMASK=255.255.255.0
|
4
labs/lib/osbash/templates/template-fedora-ifcfg-nat
Normal file
4
labs/lib/osbash/templates/template-fedora-ifcfg-nat
Normal file
@ -0,0 +1,4 @@
|
||||
# VirtualBox NAT -- for Internet access to VM
|
||||
DEVICE=%IF_NAME%
|
||||
ONBOOT=yes
|
||||
BOOTPROTO=dhcp
|
@ -0,0 +1,4 @@
|
||||
auto %IF_NAME%
|
||||
iface %IF_NAME% inet static
|
||||
address %IP_ADDRESS%
|
||||
netmask 255.255.255.0
|
@ -0,0 +1,3 @@
|
||||
# The loopback network interface
|
||||
auto lo
|
||||
iface lo inet loopback
|
3
labs/lib/osbash/templates/template-ubuntu-interfaces-nat
Normal file
3
labs/lib/osbash/templates/template-ubuntu-interfaces-nat
Normal file
@ -0,0 +1,3 @@
|
||||
# VirtualBox NAT -- for Internet access to VM
|
||||
auto eth0
|
||||
iface eth0 inet dhcp
|
Loading…
x
Reference in New Issue
Block a user