This config is no longer needed
[apex.git] / lib / ansible / playbooks / undercloud_aarch64.yml
index 5b607c3..040831c 100644 (file)
             mode: 0755
         - copy:
             content: |
-                     set default=master
+                     set default=local
                      set timeout=5
                      set hidden_timeout_quiet=false
-                     menuentry "master"  {
-                     configfile /tftpboot/\\\$net_default_ip.conf
+                     menuentry "local"  {
+                     configfile (hd0,gpt3)/boot/grub2/grub.cfg
                      }
             dest: /tftpboot/EFI/centos/grub.cfg
             mode: 0644
-        - shell: 'openstack-config --set /etc/ironic/ironic.conf pxe uefi_pxe_config_template $pybasedir/drivers/modules/pxe_grub_config.template'
         - shell: 'openstack-config --set /etc/ironic/ironic.conf pxe uefi_pxe_bootfile_name grubaa64.efi'
         - systemd:
             name: openstack-ironic-conductor
@@ -42,6 +41,7 @@
             state: present
             line: ''
         - shell: "echo 'r ^/EFI/centos/grub.cfg-(.*) /tftpboot/pxelinux.cfg/\\1' | sudo tee --append /tftpboot/map-file"
+        - shell: "echo 'r ^/EFI/centos/grub.cfg /tftpboot/EFI/centos/grub.cfg' | sudo tee --append /tftpboot/map-file"
         - systemd:
             name: xinetd
             state: restarted