This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
tasks:installing_new_arm_machines [2021/01/21 14:25] akraitman [Step 2: Update grub.conf and create the menuentry] |
tasks:installing_new_arm_machines [2025/02/19 15:48] (current) akraitman [Step 2: Update grub.conf and create the menuentry] |
||
---|---|---|---|
Line 5: | Line 5: | ||
==== Step 1: Add those setting to the relevant group_vars machines file (for example ceph-sepia-secrets/ansible/inventory/group_vars/confusa.yml) ==== | ==== Step 1: Add those setting to the relevant group_vars machines file (for example ceph-sepia-secrets/ansible/inventory/group_vars/confusa.yml) ==== | ||
- | dhcp_next_server: 172.21.0.11 | + | dhcp_next_server: 172.21.0.11 |
- | dhcp_filename: "/pxelinux.0" | + | dhcp_filename: "/aarch64/grubaa64.efi" |
And run the dhcp ansible role | And run the dhcp ansible role | ||
Line 16: | Line 16: | ||
For example: | For example: | ||
- | menuentry 'Install CentOS 8.3 on confusa' --class red --class gnu-linux --class gnu --class os { | + | set timeout=20 |
- | linux /aarch64/centos8.3/vmlinuz inst.stage2=http://mirror.linux.duke.edu/centos/8.3.2011/BaseOS/aarch64/os/ inst.ks=http://172.21.0.11/cblr/svc/op/ks/profile/Centos-7.9-arm text console=tty0 | + | menuentry 'CentOS9-arm' { |
- | initrd /aarch64/centos8.3/initrd.img | + | linux images/pxeboot/vmlinuz ip=dhcp inst.repo=http://172.21.0.11/cobbler/ks_mirror/CentOS-9.stream-aarch64 ro inst.ks=http://172.21.0.11/cblr/svc/op/ks/profile/CentOS-8.5-x86_64 |
+ | initrd images/pxeboot/initrd.img } | ||
* Sometimes we will need to first install one machine without a kickstart file and then create a new kickstart to fit the installation we want to do for the rest of the machines | * Sometimes we will need to first install one machine without a kickstart file and then create a new kickstart to fit the installation we want to do for the rest of the machines | ||
- | * We can add our new kickstart file to /var/lib/cobbler/kickstarts and the set one of the cobbler profile to use it so that we will be able to use it in our installation as we see in the example above | + | * We can add our new kickstart file to /var/lib/cobbler/kickstarts and the set one of the cobbler profile to use it so that we will be able to use it in our installation as we see (in the example above we set it to the CentOS-8.5-x86_64 profile) |
==== Step 3: Downloading the boot files (Can be found in the installation image) ==== | ==== Step 3: Downloading the boot files (Can be found in the installation image) ==== | ||
- | Add the vmlinuz & initrd.img(RHEL Distro's) / linux & initrd.gz(Debian Distro's) to /var/lib/tftpboot/aarch64/os-folder/ | + | Add the vmlinuz & initrd.img(RHEL Distro's) / linux & initrd.gz(Debian Distro's) to /var/lib/tftpboot/aarch64/images/pxeboot/ |