Created
July 1, 2022 08:08
-
-
Save ares/d3161f7044d62b6882a34067929cdd2e to your computer and use it in GitHub Desktop.
libvirt minimal network for Foreman
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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