mirror of
https://github.com/xcat2/confluent.git
synced 2026-06-12 01:38:49 +00:00
Remove modprobe errors and influence OpenSUSE to actually start agama
This commit is contained in:
@@ -18,3 +18,7 @@ if ! grep -q rd.neednet /proc/cmdline; then
|
||||
echo rd.neednet >> /etc/cmdline.d/01-confluent.conf
|
||||
fi
|
||||
: > /run/NetworkManager/initrd/neednet
|
||||
root=livenet
|
||||
netroot=livenet:TBD
|
||||
wait_for_dev -n /dev/root
|
||||
info "Preparing for confluent deployment..."
|
||||
|
||||
+10
-7
@@ -14,10 +14,10 @@ fi
|
||||
udevadm trigger
|
||||
udevadm trigger --type=devices --action=add
|
||||
udevadm settle
|
||||
modprobe ib_ipoib
|
||||
modprobe ib_umad
|
||||
modprobe hfi1
|
||||
modprobe mlx5_ib
|
||||
#modprobe ib_ipoib
|
||||
#modprobe ib_umad
|
||||
#modprobe hfi1
|
||||
#modprobe mlx5_ib
|
||||
|
||||
vlaninfo=$(getarg vlan)
|
||||
if [ ! -z "$vlaninfo" ]; then
|
||||
@@ -259,15 +259,18 @@ fi
|
||||
ISOSRC=$(blkid -t TYPE=iso9660|grep -Ei ' LABEL="'$ID-$VERSION_ID|sed -e s/:.*//)
|
||||
if [ -z "$ISOSRC" ]; then
|
||||
echo root=live:$proto://$mgr/confluent-public/os/$profilename/distribution/1/LiveOS/squashfs.img >> /etc/cmdline.d/01-confluent.conf
|
||||
echo inst.install_url=$proto://$mgr/confluent-public/os/$profilename/distribution/1 >> /etc/cmdline.d/01-confluent.conf
|
||||
#echo inst.=$proto://$mgr/confluent-public/os/$profilename/distribution >> /etc/cmdline.d/01-confluent.conf
|
||||
#root=anaconda-net:$proto://$mgr/confluent-public/os/$profilename/distribution
|
||||
#export root
|
||||
netroot=livenet:$proto://$mgr/confluent-public/os/$profilename/distribution/1/LiveOS/squashfs.img
|
||||
|
||||
else
|
||||
echo inst.repo=cdrom:$ISOSRC >> /etc/cmdline.d/01-confluent.conf
|
||||
fi
|
||||
echo inst.ks=$proto://$mgr/confluent-public/os/$profilename/kickstart >> /etc/cmdline.d/01-confluent.conf
|
||||
kickstart=$proto://$mgr/confluent-public/os/$profilename/kickstart
|
||||
export kickstart
|
||||
#echo inst.ks=$proto://$mgr/confluent-public/os/$profilename/kickstart >> /etc/cmdline.d/01-confluent.conf
|
||||
#kickstart=$proto://$mgr/confluent-public/os/$profilename/kickstart
|
||||
#export kickstart
|
||||
autoconfigmethod=$(grep ipv4_method /etc/confluent/confluent.deploycfg)
|
||||
autoconfigmethod=${autoconfigmethod#ipv4_method: }
|
||||
if [ "$autoconfigmethod" = "dhcp" ]; then
|
||||
|
||||
Reference in New Issue
Block a user