Enable networking in lorax-composer templates
Because anaconda --dirinstall is used the kickstart's network like isn't processed at all. So we need to remove the NetworkManager-server-config package which disables networking. Resolves: rhbz#1710877
This commit is contained in:
parent
47cce303d5
commit
16a00db1f0
@ -44,6 +44,8 @@ sed -i 's/cloud-user/ec2-user/' /etc/cloud/cloud.cfg
|
|||||||
%packages
|
%packages
|
||||||
kernel
|
kernel
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
|
# Enable networking by removing the config file that disables it
|
||||||
|
-NetworkManager-config-server
|
||||||
|
|
||||||
grub2
|
grub2
|
||||||
|
|
||||||
|
@ -33,5 +33,7 @@ touch /etc/machine-id
|
|||||||
%packages --nobase
|
%packages --nobase
|
||||||
# Packages requires to support this output format go here
|
# Packages requires to support this output format go here
|
||||||
selinux-policy-targeted
|
selinux-policy-targeted
|
||||||
|
# Enable networking by removing the config file that disables it
|
||||||
|
-NetworkManager-config-server
|
||||||
|
|
||||||
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
||||||
|
@ -348,6 +348,8 @@ memtest86+
|
|||||||
syslinux
|
syslinux
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
selinux-policy-targeted
|
selinux-policy-targeted
|
||||||
|
# Enable networking by removing the config file that disables it
|
||||||
|
-NetworkManager-config-server
|
||||||
|
|
||||||
# This package is needed to boot the iso on UEFI
|
# This package is needed to boot the iso on UEFI
|
||||||
shim
|
shim
|
||||||
|
@ -37,6 +37,8 @@ touch /etc/machine-id
|
|||||||
kernel
|
kernel
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
grub2
|
grub2
|
||||||
|
# Enable networking by removing the config file that disables it
|
||||||
|
-NetworkManager-config-server
|
||||||
|
|
||||||
# Make sure virt guest agents are installed
|
# Make sure virt guest agents are installed
|
||||||
qemu-guest-agent
|
qemu-guest-agent
|
||||||
|
@ -37,5 +37,7 @@ kernel
|
|||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
selinux-policy-targeted
|
selinux-policy-targeted
|
||||||
grub2
|
grub2
|
||||||
|
# Enable networking by removing the config file that disables it
|
||||||
|
-NetworkManager-config-server
|
||||||
|
|
||||||
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
||||||
|
@ -37,6 +37,8 @@ kernel
|
|||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
selinux-policy-targeted
|
selinux-policy-targeted
|
||||||
grub2
|
grub2
|
||||||
|
# Enable networking by removing the config file that disables it
|
||||||
|
-NetworkManager-config-server
|
||||||
|
|
||||||
# Make sure virt guest agents are installed
|
# Make sure virt guest agents are installed
|
||||||
qemu-guest-agent
|
qemu-guest-agent
|
||||||
|
@ -34,5 +34,7 @@ touch /etc/machine-id
|
|||||||
%packages
|
%packages
|
||||||
# Packages requires to support this output format go here
|
# Packages requires to support this output format go here
|
||||||
selinux-policy-targeted
|
selinux-policy-targeted
|
||||||
|
# Enable networking by removing the config file that disables it
|
||||||
|
-NetworkManager-config-server
|
||||||
|
|
||||||
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
# NOTE lorax-composer will add the blueprint packages below here, including the final %end
|
||||||
|
@ -61,6 +61,8 @@ dracut -f -v --persistent-policy by-uuid
|
|||||||
%packages
|
%packages
|
||||||
kernel
|
kernel
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
|
# Enable networking by removing the config file that disables it
|
||||||
|
-NetworkManager-config-server
|
||||||
|
|
||||||
grub2
|
grub2
|
||||||
|
|
||||||
|
@ -36,6 +36,8 @@ touch /etc/machine-id
|
|||||||
%packages
|
%packages
|
||||||
kernel
|
kernel
|
||||||
-dracut-config-rescue
|
-dracut-config-rescue
|
||||||
|
# Enable networking by removing the config file that disables it
|
||||||
|
-NetworkManager-config-server
|
||||||
|
|
||||||
grub2
|
grub2
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user