]> git.apps.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
cobbler: Add Ubuntu 20.04 support
authorDavid Galloway <dgallowa@redhat.com>
Fri, 24 Apr 2020 16:22:40 +0000 (12:22 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Fri, 24 Apr 2020 16:22:40 +0000 (12:22 -0400)
Signed-off-by: David Galloway <dgallowa@redhat.com>
cobbler.yml
roles/cobbler/templates/kickstarts/cephlab_ubuntu.preseed
roles/cobbler_profile/defaults/main.yml

index 76960b400493b17aee04160747355dc26e384aca..cfd8ebfde32cff2722790d07ba496f09a831f472 100644 (file)
@@ -39,6 +39,7 @@
     - { role: cobbler_profile, distro_name: Ubuntu-15.04-server-x86_64, tags: ['ubuntu-vivid'] }
     - { role: cobbler_profile, distro_name: Ubuntu-16.04-server-x86_64, tags: ['ubuntu-xenial'] }
     - { role: cobbler_profile, distro_name: Ubuntu-18.04-server-x86_64, tags: ['ubuntu-bionic'] }
+    - { role: cobbler_profile, distro_name: Ubuntu-20.04-server-x86_64, tags: ['ubuntu-focal'] }
     - { role: cobbler_profile, distro_name: openSUSE-15.0-x86_64, tags: ['opensuse-15.0'] }
     - { role: cobbler_profile, distro_name: openSUSE-15.1-x86_64, tags: ['opensuse-15.1'] }
     - { role: cobbler_profile, distro_name: openSUSE-15.2-x86_64, tags: ['opensuse-15.2'] }
index 38e0d9ce240aa08c160653c2b96bf327c10fd946..7b95dc78843985355c7bb78449ec3907713c383d 100644 (file)
@@ -104,6 +104,8 @@ d-i pkgsel/include string wget ntpdate bash sudo openssh-server
 d-i pkgsel/include string u-boot-tools pastebinit initramfs-tools wget linux-firmware ntpdate bash devmem2 fbset sudo openssh-server udev-discover gawk gdisk ethtool curl
 #else if int($distro_ver_major) == 18
 d-i pkgsel/include string u-boot-tools pastebinit initramfs-tools wget linux-firmware ntpdate bash devmem2 fbset sudo openssh-server gawk gdisk ethtool net-tools ifupdown python ntp curl
+#else if int($distro_ver_major) >= 20
+d-i pkgsel/include string u-boot-tools pastebinit initramfs-tools wget linux-firmware ntpdate bash devmem2 fbset sudo openssh-server gawk gdisk ethtool net-tools ifupdown ntp curl gpg
 #else
 d-i pkgsel/include string u-boot-tools pastebinit initramfs-tools wget linux-firmware linux-firmware-nonfree ntpdate bash devmem2 fbset sudo openssh-server udev-discover gawk gdisk ethtool curl
 #end if
index e6737736945e1dc04b5731183c03440bd6f997b4..567a27c5a6bf1d3adc88c4f92eef53004cf2f5b5 100644 (file)
@@ -125,6 +125,12 @@ distros:
       kickstart: cephlab_ubuntu.preseed
       kernel_options: "netcfg/choose_interface=auto console=tty0 console=ttyS1,115200 GRUB_DISABLE_OS_PROBER=true"
       kernel_options_post: "pci=realloc=off console=tty0 console=ttyS1,115200"
+  "Ubuntu-20.04-server-x86_64":
+      iso: "http://cdimage.ubuntu.com/ubuntu-legacy-server/releases/20.04/release/ubuntu-20.04-legacy-server-amd64.iso"
+      sha256: 36f15879bd9dfd061cd588620a164a82972663fdd148cce1f70d57d314c21b73
+      kickstart: cephlab_ubuntu.preseed
+      kernel_options: "netcfg/choose_interface=auto console=tty0 console=ttyS1,115200 GRUB_DISABLE_OS_PROBER=true"
+      kernel_options_post: "pci=realloc=off console=tty0 console=ttyS1,115200"
   "openSUSE-15.0-x86_64":
       iso: "https://download.opensuse.org/distribution/leap/15.0/iso/openSUSE-Leap-15.0-DVD-x86_64.iso"
       sha256: c477428c7830ca76762d2f78603e13067c33952b936ff100189523e1fabe5a77