我可以在 MAAS UBUNTU 中制作“选择图像列表”吗?

Sar*_*h H 5 maas

我只想知道我是否可以制作一种菜单选择列表,节点可以从他们想要的操作系统中进行选择?

因此,不是自动运行您分配给它的 Ubuntu 16.04 映像,而是为其提供多个映像,节点用户只需选择一个。

Win*_*nix 4

Grub 多重引导 MAAS 功能请求

我已经提交了引用此问答的功能请求(功能请求允许 grub 多重引导 MAAS 映像)。

历史

我花了几个小时使用谷歌研究这个问题,看来一个很好的 ole grub 菜单就是做到这一点的方法。不幸的是,我找不到有关执行此操作的官方 Ubuntu MAAS(金属即服务)文档。事实上,我能找到的关于 MAAS 的 grub 的唯一信息就是 grub 不应该出现的错误报告。

例如(https://bugs.launchpad.net/maas/+bug/1532935):

John George (jog) wrote on 2016-05-20:  #18
Ran into this issue multiple times while using Landscape Autopilot to 
deploy Openstack, which was never able to complete due to at least one 
machine failing to deploy, after getting stuck at the grub menu. Juju 
1.25.5 and MAAS 1.9.2 were being used.

Once stopped at the grub menu I was able to bring the system up for 
inspection by doing the following:

    - Reboot the server and drop into the boot menue (F11 on HP)
    - Select the UEFI module option
    - Use the file explorer to drill down to and run shimx64.efi
    - grub> cat /boot/grub/menu.lst (to see configured kernel and initrd paths)
    - grub> linux /boot/vmlinuz-3.13.0-86-generic root=LABEL=root ro console=ttyS1,38400 1
    - grub> initrd /boot/initrd.img-3.13.0-86-generic
    - grub> boot
    - Boot would stop at run level 1 and drop to a root shell prompt
    - /etc/init.d/networking start
    - service ssh start
    - ifconfig (to find configured IP)
    - ssh into the system as the ubuntu user
Run Code Online (Sandbox Code Playgroud)

还有人抱怨 MAAS 如何将 grub 安装到/dev/sda而不是真正的引导驱动器/dev/sdbMAAS 总是将 GRUB 安装到 /dev/sda,即使这是不合适的):

因此,grub 是 MAAS 启动过程的一部分,问题是如何使 grub 菜单处于活动状态并为您提供各种图像可供选择,就像我们现在如何选择不同的 Ubuntu 版本和 Windows 版本一样。

我认为,如果将一封措辞优美的电子邮件发送到正确的渠道,Ubuntu MAAS 团队可能会有所帮助。此外,可以发布在某处。


P.-*_*Lin 3

您应该能够部署具有不同映像的系统,首先转到“Images”选项卡并导入您想要的映像:

启动镜像

之后,当您部署系统时,您可以从下拉列表中选择不同的映像来部署在该节点上: 部署系统