mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-03 21:40:34 +07:00
Fix incorrect installer address
This commit is contained in:
parent
e4b2ebb979
commit
2a944bd597
@ -3,7 +3,6 @@ set timeout=1
|
||||
menuentry 'Rocky-8.4-x86_64-minimal (PXE)' {
|
||||
linux vmlinuz \
|
||||
ip=dhcp \
|
||||
inst.repo=http://192.168.1.12/os \
|
||||
ks=http://192.168.1.12/init-config/${net_default_mac}.ks
|
||||
initrd initrd.img
|
||||
}
|
||||
|
@ -3,7 +3,6 @@ set timeout=1
|
||||
menuentry '{{ iso_url | basename | splitext | first }} (PXE)' {
|
||||
linux vmlinuz \
|
||||
ip=dhcp \
|
||||
inst.repo=http://{{ ansible_default_ipv4.address }}/os \
|
||||
ks=http://{{ ansible_default_ipv4.address }}/init-config/${net_default_mac}.ks
|
||||
initrd initrd.img
|
||||
}
|
||||
|
@ -15,11 +15,11 @@ ignoredisk --only-use={{ disk }}
|
||||
autopart
|
||||
|
||||
# Network information
|
||||
network --bootproto=static --device={{ network_interface }} --ip={{ ansible_host }} --gateway={{ ansible_default_ipv4.gateway }} --nameserver={{ dns_server }} --netmask={{ ansible_default_ipv4.netmask }} --ipv6=auto --hostname={{ hostvars[item]['inventory_hostname'] }} --activate
|
||||
network --bootproto=static --device={{ network_interface }} --ip={{ hostvars[item]['ansible_host'] }} --gateway={{ ansible_default_ipv4.gateway }} --nameserver={{ dns_server }} --netmask={{ ansible_default_ipv4.netmask }} --ipv6=auto --hostname={{ hostvars[item]['inventory_hostname'] }} --activate
|
||||
|
||||
# Use network installation
|
||||
repo --name="Minimal" --baseurl=http://{{ ansible_default_ipv4.address }}/os/Minimal
|
||||
url --url="http://{{ ansible_default_ipv4.address }}/iso/"
|
||||
url --url="http://{{ ansible_default_ipv4.address }}/os"
|
||||
# Disable Setup Agent on first boot
|
||||
firstboot --disable
|
||||
# Do not configure the X Window System
|
||||
|
Loading…
Reference in New Issue
Block a user