Skip to content

Instantly share code, notes, and snippets.

@ares
Created July 1, 2022 08:08
Show Gist options
  • Save ares/d3161f7044d62b6882a34067929cdd2e to your computer and use it in GitHub Desktop.
Save ares/d3161f7044d62b6882a34067929cdd2e to your computer and use it in GitHub Desktop.
libvirt minimal network for Foreman
<network ipv6='yes'>
<name>default</name>
<forward mode='nat'/>
<bridge name='virbr0' stp='on' delay='0'/>
<mac address='52:54:00:bc:c9:ca'/>
<domain name='example.com' localOnly='yes'/>
<dns>
<host ip='192.168.122.1'>
<hostname>foreman.example.com</hostname>
</host>
</dns>
<ip address='192.168.122.1' netmask='255.255.255.0'>
<tftp root='/var/lib/tftpboot'/>
<dhcp>
<range start='192.168.122.20' end='192.168.122.254'/>
<bootp file='pxelinux.0'/>
</dhcp>
</ip>
</network>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment