diff --git a/confluent_osdeploy/el9-diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh b/confluent_osdeploy/el9-diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh index 1f9dfe56..30ba9757 100644 --- a/confluent_osdeploy/el9-diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh +++ b/confluent_osdeploy/el9-diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh @@ -28,7 +28,7 @@ get_remote_apikey() { root=1 rootok=1 netroot=confluent -#clear +echo -ne '\033[H\033[2J\033[3J' mkdir -p /etc/ssh mkdir -p /var/tmp/ mkdir -p /var/empty/sshd diff --git a/imgutil/el9/dracut/install b/imgutil/el9/dracut/install index bd8647cc..608c868a 100644 --- a/imgutil/el9/dracut/install +++ b/imgutil/el9/dracut/install @@ -8,14 +8,14 @@ dracut_install modprobe touch echo cut wc bash uniq grep ip hostname dracut_install awk egrep dirname expr sort dracut_install ssh sshd reboot parted mkfs mkfs.ext4 mkfs.xfs xfs_db mkswap dracut_install efibootmgr uuidgen -dracut_install du df ssh-keygen scp clear dhclient -dracut_install /lib64/libnss_dns-2.28.so /lib64/libnss_dns.so.2 +dracut_install du df ssh-keygen scp dhclient +dracut_install /lib64/libnss_dns* dracut_install /usr/lib64/libnl-3.so.200 dracut_install /etc/nsswitch.conf /etc/services /etc/protocols dracut_install chmod whoami head tail basename tr dracut_install /usr/sbin/arping /usr/sbin/dhclient-script ipcalc logger hostnamectl inst /bin/bash /bin/sh -dracut_install /lib64/libfuse.so.2 /lib64/libfuse.so.2.9.7 +dracut_install /lib64/libfuse.so.2 dracut_install chown chroot dd expr kill parted rsync sort blockdev findfs insmod lvm dracut_install /usr/lib/udev/rules.d/10-dm.rules /usr/sbin/dmsetup /usr/lib/udev/rules.d/95-dm-notify.rules dracut_install /usr/lib/udev/rules.d/60-net.rules /lib/udev/rename_device /usr/lib/systemd/network/99-default.link diff --git a/imgutil/imgutil b/imgutil/imgutil index c23cfc39..dac5aa46 100644 --- a/imgutil/imgutil +++ b/imgutil/imgutil @@ -537,7 +537,7 @@ class SuseHandler(OsHandler): targdir = os.path.join(self.targpath, 'usr/lib/dracut/modules.d/97diskless') shutil.copytree(dracutdir, targdir) with open(os.path.join(self.targpath, 'etc/dracut.conf.d/diskless.conf'), 'w') as dracutconf: - dracutconf.write('compress=xz\nhostonly=no\ndracutmodules+="diskless base terminfo"\n') + dracutconf.write('compress=xz\nhostonly=no\ndracutmodules+=" diskless base terminfo "\n') cmd = ['chmod', 'a+x'] cmd.extend(glob.glob(os.path.join(targdir, '*'))) subprocess.check_call(cmd) @@ -614,7 +614,7 @@ class ElHandler(OsHandler): targdir = os.path.join(self.targpath, 'usr/lib/dracut/modules.d/97diskless') shutil.copytree(dracutdir, targdir) with open(os.path.join(self.targpath, 'etc/dracut.conf.d/diskless.conf'), 'w') as dracutconf: - dracutconf.write('compress=xz\nhostonly=no\ndracutmodules+="diskless base terminfo"\n') + dracutconf.write('compress=xz\nhostonly=no\ndracutmodules+=" diskless base terminfo "\n') cmd = ['chmod', 'a+x'] cmd.extend(glob.glob(os.path.join(targdir, '*'))) subprocess.check_call(cmd)