This might be related to https://github.com/xcat2/xcat-core/pull/6816 which will be part of xCAT 2.16.2
Mark Gurevich Poughkeepsie Development Lab HPC Software Development - xCAT "If we knew what it was we were doing, it would not be called research, would it?" --Albert Einstein From: Michael Green <mishagr...@gmail.com> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Date: 05/21/2021 11:03 PM Subject: [EXTERNAL] Re: [xcat-user] Ubuntu 18.04 SSH prompt On May 21, 2021, at 9:17 AM, Mark Gurevich <gurev...@us.ibm.com> wrote: What version of xCAT? The latest - 2.16.1 Can you show the lsdef of the node and lsdef of osimage ? [root@us7 ~]# lsdef m1 Object name: m1 arch=x86_64 bmc=172.29.1.74 bmcpassword=ADMIN bmcusername=ADMIN cons=ipmi consoleenabled=1 currchain=boot currstate=boot getmac=ipmi groups=all ip=172.29.0.74 mac=0c:c4:7a:f8:de:88 mgt=ipmi netboot=xnba os=ubuntu18.04.2 postbootscripts=otherpkgs postscripts=syslog,remoteshell,syncfiles,hardeths,mlnxofed_ib_install -p /install/ofed/MLNX_OFED_LINUX-5.1-2.5.8.0-ubuntu18.04-x86_64.iso profile=compute provmethod=ubuntu18.04.2-x86_64-install-compute serialport=1 serialspeed=115200 status=booted statustime=05-20-2021 13:08:08 [root@us7 ~]# lsdef -t osimage ubuntu18.04.2-x86_64-install-compute Object name: ubuntu18.04.2-x86_64-install-compute imagetype=linux osarch=x86_64 osname=Linux osvers=ubuntu18.04.2 otherpkgdir=/install/post/otherpkgs/ubuntu18.04.2/x86_64 pkgdir=/install/ubuntu18.04.2/x86_64 pkglist=/opt/xcat/share/xcat/install/ubuntu/compute.ubuntu18.04.x86_64.pkglist profile=compute provmethod=install template=/opt/xcat/share/xcat/install/ubuntu/compute.tmpl I found that if I add to the template (/opt/xcat/share/xcat/install/ubuntu/compute.tmpl) this line, the boot loader is installed automatically. d-i grub-installer/bootdev string /dev/sda I realize that that line is installing the MBR explicitly into /dev.sda, and if whatever reason /dev/sda isn't present, it won't work. So I'm sill wondering why the target location of MBR isn't calculated automatically. For he records, this is the output of lsblk: root@m1:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 223.6G 0 disk |-sda1 8:1 0 243M 0 part /boot |-sda2 8:2 0 1K 0 part |-sda5 8:5 0 221.4G 0 part / `-sda6 8:6 0 1.9G 0 part [SWAP] nvme0n1 259:0 0 3.5T 0 disk `-nvme0n1p1 259:1 0 3.5T 0 part nvme2n1 259:2 0 3.5T 0 disk `-nvme2n1p1 259:5 0 3.5T 0 part nvme1n1 259:3 0 3.5T 0 disk `-nvme1n1p1 259:4 0 3.5T 0 part nvme3n1 259:6 0 3.5T 0 disk `-nvme3n1p1 259:10 0 3.5T 0 part nvme5n1 259:7 0 3.5T 0 disk `-nvme5n1p1 259:8 0 3.5T 0 part nvme4n1 259:9 0 3.5T 0 disk `-nvme4n1p1 259:11 0 3.5T 0 part Mark Gurevich Poughkeepsie Development Lab HPC Software Development - xCAT "If we knew what it was we were doing, it would not be called research, would it?" --Albert Einstein From: Michael Green <mishagr...@gmail.com> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Date: 05/20/2021 03:17 PM Subject: [EXTERNAL] Re: [xcat-user] Ubuntu 18.04 SSH prompt Yes, that was that! I reduced the debug to 1 and the ssh prompt is no more. Thanks a lot for the tip! Next question: the installation now stops asking me where to install the bootloader. This prevents the installation from completing in unattended fashion. Where is that controlled in xcat? ┌──────────┤ [!!] Install the GRUB boot loader on a hard disk ├───────────┐ │ │ │ You need to make the newly installed system bootable, by installing │ │ the GRUB boot loader on a bootable device. The usual way to do this │ │ is to install GRUB on the master boot record of your first hard │ │ drive. If you prefer, you can install GRUB elsewhere on the drive, or │ │ to another drive, or even to a floppy. │ │ │ │ The device should be specified as a device in /dev. Below are some │ │ examples: │ │ - "/dev/sda" will install GRUB to the master boot record of your │ │ first │ │ hard drive; │ │ - "/dev/sda2" will use the second partition of your first hard │ │ drive; │ │ │ │ _____________________________________________________________________ │ │ │ │ <Go Back> <Continue> │ │ │ └─────────────────────────────────────────────────────────────────────────┘ <Tab> moves; <Space> selects; <Enter> activates buttons On May 19, 2021, at 9:13 AM, Mark Gurevich <gurev...@us.ibm.com> wrote: Do you by any chance have "xcatdebugmode" set in site table ? Mark Gurevich Poughkeepsie Development Lab HPC Software Development - xCAT "If we knew what it was we were doing, it would not be called research, would it?" --Albert Einstein From: Michael Green <mishagr...@gmail.com> To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Date: 05/17/2021 07:20 PM Subject: [EXTERNAL] [xcat-user] Ubuntu 18.04 SSH prompt Hello collective wisdom, Does anyone know how to disable the SSH prompt during diskfull installation of Ubuntu 18.04.5? ┌───────────┤ [!!] Continue installation remotely using SSH ├───────────┐ │ │ │ Start SSH │ │ To continue the installation, please use an SSH client to connect to │ │ the IP address 172.29.0.74 fe80::ec4:7aff:fef8:de64 and log in as the │ │ "installer" user. For example: │ │ │ │ ssh installer@172.29.0.74 │ │ │ │ The fingerprint of this SSH server's host key is: │ │ SHA256:+egqLvsAY5MN3/4ws6CBjj5Ro1bSEEvH2gzsfwBWv5g │ │ │ │ Please check this carefully against the fingerprint reported by your │ │ SSH client. │ │ │ │ <Continue> │ │ │ └───────────────────────────────────────────────────────────────────────┘ _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user