mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-11-29 02:13:09 +00:00
cloud: Consistent device naming
Use consistent network device names for network devices instead of forcing the old "ethX" names from pre-2017. This ensures that specialized network devices, such as SR-IOV devices, are easy to recognize and configure inside a Fedora instance on a public cloud or OpenStack cloud. FESCo ticket: https://pagure.io/fesco/issue/3190 Change proposal: https://fedoraproject.org/wiki/Changes/EnableConsistentDeviceNamingCloud Signed-off-by: Major Hayden <major@redhat.com>
This commit is contained in:
parent
226ac356da
commit
e0561d3635
@ -9,7 +9,7 @@
|
|||||||
# Don't show bootloader as it's impossible for the user to get to it in time
|
# Don't show bootloader as it's impossible for the user to get to it in time
|
||||||
# So we might as well not waste the 1 second on each boot.
|
# So we might as well not waste the 1 second on each boot.
|
||||||
# https://cloud.google.com/compute/docs/import/import-existing-image
|
# https://cloud.google.com/compute/docs/import/import-existing-image
|
||||||
bootloader --timeout=0 --location=mbr --append="no_timer_check net.ifnames=0 console=ttyS0,38400n8d"
|
bootloader --timeout=0 --location=mbr --append="no_timer_check console=ttyS0,38400n8d"
|
||||||
|
|
||||||
# redefine `services` here to drop cloud-init systemd unit enablements from
|
# redefine `services` here to drop cloud-init systemd unit enablements from
|
||||||
# fedora-cloud-base.ks since we don't use them.
|
# fedora-cloud-base.ks since we don't use them.
|
||||||
|
@ -31,8 +31,7 @@ rootpw --lock --iscrypted locked
|
|||||||
|
|
||||||
firewall --disabled
|
firewall --disabled
|
||||||
|
|
||||||
# We pass net.ifnames=0 because we always want to use eth0 here on all the cloud images.
|
bootloader --timeout=1 --location=mbr --append="no_timer_check console=tty1 console=ttyS0,115200n8"
|
||||||
bootloader --timeout=1 --location=mbr --append="no_timer_check net.ifnames=0 console=tty1 console=ttyS0,115200n8"
|
|
||||||
|
|
||||||
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
services --enabled=sshd,cloud-init,cloud-init-local,cloud-config,cloud-final
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user