mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-15 20:13:32 +01:00
integrate-distro.sh: Ongoing improvements
- Add package xterm - Add additional check to prevent accidental deletion of bind-mounts - Add preliminary configuration of eth0
This commit is contained in:
parent
2962a5f08b
commit
9b0da21b0e
1 changed files with 10 additions and 0 deletions
|
|
@ -96,6 +96,8 @@ payload_pkgs="
|
|||
xorg-x11-Xvfb
|
||||
xorg-x11-Xvnc
|
||||
|
||||
xterm
|
||||
|
||||
man
|
||||
findutils-locate
|
||||
vim
|
||||
|
|
@ -627,6 +629,13 @@ setup_root_directory()
|
|||
|
||||
set +e
|
||||
unmount_devices /proc /sys /dev
|
||||
grep -q $root /proc/mounts && {
|
||||
echo "====== there are filesystems mounted below $root: >"
|
||||
grep $root /proc/mounts
|
||||
echo "====== unmount them manually"
|
||||
exit 1
|
||||
}
|
||||
|
||||
run rm -rf $root
|
||||
run install -d -m 755 $root
|
||||
fi
|
||||
|
|
@ -693,6 +702,7 @@ cmd_install()
|
|||
make_netboot_etc_ldap_conf > $root/etc/ldap.conf.netboot
|
||||
make_netboot_etc_openldap_ldap_conf > $root/etc/openldap/ldap.conf.netboot
|
||||
make_netboot_etc_hosts > $root/etc/hosts.netboot
|
||||
echo "STARTMODE='nfsroot'" > $root/etc/sysconfig/network/ifcfg-eth0.netboot
|
||||
|
||||
make_etc_openldap_ldap_conf > $root/etc/openldap/ldap.conf
|
||||
chmod 644 $root/etc/openldap/ldap.conf
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue