diff --git a/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh b/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh index 889468fc..b1750276 100644 --- a/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh +++ b/confluent_osdeploy/rhvh4/initramfs/usr/lib/dracut/hooks/initqueue/01-confluent.sh @@ -58,7 +58,9 @@ if [ $textconsole = "true" ] && ! grep console= /proc/cmdline > /dev/null; then fi fi -echo inst.repo=$proto://$mgr/confluent-public/os/$profilename/distribution >> /etc/cmdline.d/01-confluent.conf +# RHV must not have a repo +#echo inst.repo=$proto://$mgr/confluent-public/os/$profilename/distribution >> /etc/cmdline.d/01-confluent.conf +echo liveimg --url=$proto://$mgr/confluent-public/os/$profilename/distribution/LiveOS/squashfs.img >> /etc/confluent/rhv.path echo inst.ks=$proto://$mgr/confluent-public/os/$profilename/kickstart >> /etc/cmdline.d/01-confluent.conf kickstart=$proto://$mgr/confluent-public/os/$profilename/kickstart root=anaconda-net:$proto://$mgr/confluent-public/os/$profilename/distribution diff --git a/confluent_osdeploy/rhvh4/profiles/default/kickstart b/confluent_osdeploy/rhvh4/profiles/default/kickstart index c9080ce7..5f3c6b34 100644 --- a/confluent_osdeploy/rhvh4/profiles/default/kickstart +++ b/confluent_osdeploy/rhvh4/profiles/default/kickstart @@ -30,15 +30,9 @@ # instead %include /tmp/partitioning -reboot +%include /etc/confluent/rhv.path -%packages -@^minimal-environment -clevis-dracut -chrony -rsync -python3 -%end +reboot %pre profile=$(grep ^profile: /etc/confluent.deploycfg |awk '{print $2}') @@ -48,6 +42,7 @@ curl -f https://$mgr/confluent-public/os/$profile/scripts/pre.sh > /tmp/preinst. %end %post --nochroot +nodectl init mkdir -p /mnt/sysimage/etc/confluent profile=$(grep ^profile: /etc/confluent.deploycfg |awk '{print $2}') mgr=$(grep deploy_server /etc/confluent.deploycfg |awk '{print $2}')