2
0
mirror of https://github.com/xcat2/confluent.git synced 2025-01-11 18:28:11 +00:00

Fix issues around imageboot and source in functions

This commit is contained in:
Jarrod Johnson 2021-06-15 08:31:45 -04:00
parent 1d8d0699bc
commit 38a4e20b9a
4 changed files with 4 additions and 4 deletions

View File

@ -51,7 +51,7 @@ source_remote() {
chmod +x $1
cmd=$1
shift
source $cmd
source ./$cmd
cd - > /dev/null
return $retcode
}

View File

@ -59,7 +59,7 @@ source_remote() {
chmod +x $1
cmd=$1
shift
source $cmd
source ./$cmd
cd - > /dev/null
return $retcode
}

View File

@ -1,6 +1,6 @@
. /lib/dracut-lib.sh
mkdir -p /mnt/remoteimg /mnt/remote /mnt/overlay
if [ "unethered" = $(getarg confluent_imagemethod) ]; then
if [ "unethered" = "$(getarg confluent_imagemethod)" ]; then
mount -t tmpfs untethered /mnt/remoteimg
curl https://$confluent_mgr/confluent-public/os/$confluent_profile/rootimg.sfs -O /mnt/remoteimg/rootimg.sfs
else

View File

@ -51,7 +51,7 @@ source_remote() {
chmod +x $1
cmd=$1
shift
source $cmd
source ./$cmd
cd - > /dev/null
return $retcode
}