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:
parent
1d8d0699bc
commit
38a4e20b9a
@ -51,7 +51,7 @@ source_remote() {
|
||||
chmod +x $1
|
||||
cmd=$1
|
||||
shift
|
||||
source $cmd
|
||||
source ./$cmd
|
||||
cd - > /dev/null
|
||||
return $retcode
|
||||
}
|
||||
|
@ -59,7 +59,7 @@ source_remote() {
|
||||
chmod +x $1
|
||||
cmd=$1
|
||||
shift
|
||||
source $cmd
|
||||
source ./$cmd
|
||||
cd - > /dev/null
|
||||
return $retcode
|
||||
}
|
||||
|
@ -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
|
||||
|
@ -51,7 +51,7 @@ source_remote() {
|
||||
chmod +x $1
|
||||
cmd=$1
|
||||
shift
|
||||
source $cmd
|
||||
source ./$cmd
|
||||
cd - > /dev/null
|
||||
return $retcode
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user