From 25f65a278f0efefc14641393c2279c2c2f088336 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Fri, 11 Jun 2021 16:18:59 -0400 Subject: [PATCH] Notation on untethered option --- .../usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/confluent_osdeploy/diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh b/confluent_osdeploy/diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh index 7532e2ab..a37e704b 100644 --- a/confluent_osdeploy/diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh +++ b/confluent_osdeploy/diskless/initramfs/usr/lib/dracut/hooks/cmdline/10-confluentdiskless.sh @@ -190,6 +190,10 @@ done confluent_mgr=$(grep ^deploy_server: /etc/confluent/confluent.deploycfg| awk '{print $2}') confluent_urls="$confluent_urls https://$confluent_mgr/confluent-public/os/$confluent_profile/rootimg.sfs" mkdir -p /mnt/remoteimg /mnt/remote /mnt/overlay +# if untethered +# offer alternative to urlmount here, download and mount it if the +# user wants to expend ram to be untethered, proc/cmdline to configure +# else /opt/confluent/bin/urlmount $confluent_urls /mnt/remoteimg mount -o loop,ro /mnt/remoteimg/*.sfs /mnt/remote #mount -t tmpfs overlay /mnt/overlay