diff options
author | Dirk von Suchodoletz | 2007-02-21 22:09:05 +0100 |
---|---|---|
committer | Dirk von Suchodoletz | 2007-02-21 22:09:05 +0100 |
commit | e0e1fcc938b3684ced0cd71a0f529dbf031eb197 (patch) | |
tree | 0572b3d54d2636c072c46add7438decceb8254da /initramfs/distro-specs/suse | |
parent | * slxos-setup and the required files are now installed, too. (diff) | |
download | core-e0e1fcc938b3684ced0cd71a0f529dbf031eb197.tar.gz core-e0e1fcc938b3684ced0cd71a0f529dbf031eb197.tar.xz core-e0e1fcc938b3684ced0cd71a0f529dbf031eb197.zip |
Started NFSv4 integration (only sensible for newer distros, e.g.
SuSE 10.), removed AFS from SuSE10.2 (deprecated), fixed init for
(nfsroot= deprecated too) and fixed functions for @@@serverip@@@
(dsuchod if --username dsuchod does not work)
git-svn-id: http://svn.openslx.org/svn/openslx/trunk@709 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'initramfs/distro-specs/suse')
-rw-r--r-- | initramfs/distro-specs/suse/functions-10.2 | 33 |
1 files changed, 12 insertions, 21 deletions
diff --git a/initramfs/distro-specs/suse/functions-10.2 b/initramfs/distro-specs/suse/functions-10.2 index 0ec98e85..232edd57 100644 --- a/initramfs/distro-specs/suse/functions-10.2 +++ b/initramfs/distro-specs/suse/functions-10.2 @@ -112,27 +112,18 @@ if [ "x$start_dreshal" = "xyes" ]; then fi } -# afs client -# configure afs client -config_afs () { -if [ "x$start_afs" = "xyes" ] ; then - if [ -f /mnt/etc/init.d/openafs-client ] ; then - test -d /mnt/afs || error "${df_errafsd}" - testmkd /mnt/var/cache/openafs - rllinker "openafs-client" "15" "06" - # echo -e "# /etc/sysconfig/afs-client - file generated by \ - #$0:\n#\t$date\n" >/etc/sysconfig/afs-client.new; - # sed -e "s,THIS_CELL_SERVER.*,THIS_CELL_SERVER=\"$cell_serv\"," \ - # -e "s,PREFERREDSERVERS.*,PREFERREDSERVERS=\"$cell_serv\"," \ - # -e "s,THIS_CELL.*,THIS_CELL=\"$this_cell\"," \ - # -e "s,MEMCACHE.*,MEMCACHE=\"yes\"," \ - # /etc/sysconfig/afs-client >> \ - # /etc/sysconfig/afs-client.new - # mv /etc/sysconfig/afs-client.new /etc/sysconfig/afs-client - else - error "${df_errafsn}" nonfatal - fi -fi +# config nfsv4 +config_nfsv4 () { +testmkd /mnt/var/lib/nfs/rpc_pipefs +sed -e "s,NFS_SECURITY_GSS=.*,NFS_SECURITY_GSS=\"yes\"," \ + -e "s,NFS4_SUPPORT=.*,NFS4_SUPPORT=\"yes\"," \ + -i /mnt/etc/sysconfig/nfs +echo -e "rpc_pipefs\t/var/lib/nfs/rpc_pipefs rpc_pipefs defaults\t 0 0\n\ +nfsd\t\t/proc/fs/nfsd\tnfsd\t\tdefaults\t 0 0" >>/tmp/fstab +# portmap is required +config_portmap +rllinker "idmapd" "14" "08" +rllinker "gssd" "15" "07" } # prepare virtual machine environment (vmware, vmplayer) |