litefile and rc.localdisk not work on Rocky 8.10 for diskless mode · Issue #7496 · xcat2/xcat-core · GitHub
More Web Proxy on the site http://driver.im/
You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kernel parameter key is: imgurl
kernel parameter key is: XCAT
kernel parameter key is: NODE
kernel parameter key is: FC
kernel parameter key is: XCATHTTPPORT
kernel parameter key is: LOGSERVER
kernel parameter key is: syslog.server
kernel parameter key is: syslog.type
kernel parameter key is: syslog.filter
kernel parameter key is: xcatdebugmode
kernel parameter key is: console
kernel parameter key is: console
kernel parameter key is: selinux
kernel parameter key is: BOOTIF
localdisk: do nothing.
On the xcat server:
modify file '/opt/xcat/share/xcat/netboot/add-on/statelite/rc.localdisk', add on the line 49:
DOPART="yes"
OS="rh"
2.add below to synclists file:
/install/custom/netboot/rocky8.10/cfglocaldisk' to /install/netboot/rocky8.10/x86_64/compute/rootimg/.sllocal/log/litefile
modify file '/opt/xcat/share/xcat/netboot/add-on/statelite/rc.localdisk', change the line 240:
'mount -t $fstype $dev $MNTDIR$LOCAL'
to
'mount -t $fstype $dev /tmp' not '$MNTDIR/tmp'.
lsdef -t osimage rocky8.10-x86_64-netboot-compute
:partitionfile=/install/custom/netboot/rocky8.10/cfglocaldisk
cat partitionfile=/install/custom/netboot/rocky8.10/cfglocaldisk
:enable=yes
enablepart=yes
[disk]
dev=/dev/sda
clear=yes
fstype=ext4
parts=10,20,30
[localspace]
dev=/dev/sda1
fstype=ext4
tabdump policy
:"4.7",,,"litefile",,,,"allow",,
"4.8",,,"litetree",,,,"allow",,
"7.1",,,"getpartition",,,,"allow",,
cat /proc/cmdline
:imgurl=http://192.168.106.252:80//install/netboot/rocky8.10/x86_64/compute/rootimg.cpio.gz XCAT=192.168.106.252:3001 NODE=cnode001 FC=0 XCATHTTPPORT=80 LOGSERVER=192.168.106.252 syslog.server=192.168.106.252 syslog.type=rsyslogd syslog.filter=. xcatdebugmode=1 console=tty0 console=ttyS0,115200 selinux=0 BOOTIF=01-7c-1c-f1-40-a2-f2
cat /.sllocal/log/localdisk.log
:kernel parameter key is: imgurl
kernel parameter key is: XCAT
kernel parameter key is: NODE
kernel parameter key is: FC
kernel parameter key is: XCATHTTPPORT
kernel parameter key is: LOGSERVER
kernel parameter key is: syslog.server
kernel parameter key is: syslog.type
kernel parameter key is: syslog.filter
kernel parameter key is: xcatdebugmode
kernel parameter key is: console
kernel parameter key is: console
kernel parameter key is: selinux
kernel parameter key is: BOOTIF
localdisk: do nothing.
DOPART="yes"
OS="rh"
2.add below to synclists file:
/install/custom/netboot/rocky8.10/cfglocaldisk' to /install/netboot/rocky8.10/x86_64/compute/rootimg/.sllocal/log/litefile
genimage rocky8.10-x86_64-netboot-compute && packimage rocky8.10-x86_64-netboot-compute
df
/dev/sda1 989032 152896 768552 17% /.sllocal/localmnt
'mount -t $fstype $dev $MNTDIR$LOCAL'
to
'mount -t $fstype $dev $MNTDIR/tmp'
It does not work.
The text was updated successfully, but these errors were encountered: