2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Specify correct filename for fakecmdline

This commit is contained in:
Jarrod Johnson 2021-12-02 16:27:55 -05:00
parent 7a95c3e64c
commit 3adb82370f

View File

@ -102,7 +102,7 @@ if [ -e /lib/nm-lib.sh ]; then
fi
fi
cat /proc/cmdline /etc/cmdline.d/01-confluent.conf | tr '\n' ' ' > /run/fakecmdline
chcon system_u:object_r:proc_t:s0 /run/cmdline
chcon system_u:object_r:proc_t:s0 /run/fakecmdline
mount -o bind /run/fakecmdline /proc/cmdline
curl -sf https://$confluent_mgr/confluent-public/os/$confluent_profile/rootfs.img | rdcore stream-hash /etc/coreos-live-want-rootfs | bsdtar -xf - -C /