mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-05 21:11:52 +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)' {
|
menuentry 'Rocky-8.4-x86_64-minimal (PXE)' {
|
||||||
linux vmlinuz \
|
linux vmlinuz \
|
||||||
ip=dhcp \
|
ip=dhcp \
|
||||||
inst.repo=http://192.168.1.12/os \
|
|
||||||
ks=http://192.168.1.12/init-config/${net_default_mac}.ks
|
ks=http://192.168.1.12/init-config/${net_default_mac}.ks
|
||||||
initrd initrd.img
|
initrd initrd.img
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,6 @@ set timeout=1
|
|||||||
menuentry '{{ iso_url | basename | splitext | first }} (PXE)' {
|
menuentry '{{ iso_url | basename | splitext | first }} (PXE)' {
|
||||||
linux vmlinuz \
|
linux vmlinuz \
|
||||||
ip=dhcp \
|
ip=dhcp \
|
||||||
inst.repo=http://{{ ansible_default_ipv4.address }}/os \
|
|
||||||
ks=http://{{ ansible_default_ipv4.address }}/init-config/${net_default_mac}.ks
|
ks=http://{{ ansible_default_ipv4.address }}/init-config/${net_default_mac}.ks
|
||||||
initrd initrd.img
|
initrd initrd.img
|
||||||
}
|
}
|
||||||
|
@ -15,11 +15,11 @@ ignoredisk --only-use={{ disk }}
|
|||||||
autopart
|
autopart
|
||||||
|
|
||||||
# Network information
|
# 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
|
# Use network installation
|
||||||
repo --name="Minimal" --baseurl=http://{{ ansible_default_ipv4.address }}/os/Minimal
|
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
|
# Disable Setup Agent on first boot
|
||||||
firstboot --disable
|
firstboot --disable
|
||||||
# Do not configure the X Window System
|
# Do not configure the X Window System
|
||||||
|
Loading…
Reference in New Issue
Block a user