mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-22 09:32:27 +00:00
15 lines
373 B
Bash
Executable File
15 lines
373 B
Bash
Executable File
#!/bin/sh
|
|
|
|
installroot=$1
|
|
arch=$3
|
|
profile=$4
|
|
|
|
cat <<END >"$installroot/etc/fstab"
|
|
proc /proc proc rw 0 0
|
|
sysfs /sys sysfs rw 0 0
|
|
devpts /dev/pts devpts rw,gid=5,mode=620 0 0
|
|
${profile}_${arch} / tmpfs rw 0 1
|
|
none /tmp tmpfs defaults,size=10m 0 2
|
|
none /var/tmp tmpfs defaults,size=10m 0 2
|
|
END
|