Commit 35014bf6 authored by Mike Hibler's avatar Mike Hibler

Stop hardwiring NFS v2 in Linux mounts.

Need to rebuild newer Linux images with this.
parent 6931f276
......@@ -84,7 +84,7 @@ $EGREP = "/bin/egrep -q";
# Note that we try multiple versions in os_nfsmount below; this is for legacy
# code, or code where the mount is best done in the caller itself... or code
# I didn't want to convert!
$NFSMOUNT = "/bin/mount -o vers=2,udp"; # Force NFS Version 2 over UDP
$NFSMOUNT = "/bin/mount -o udp";
$LOOPBACKMOUNT = "/bin/mount -n -o bind ";
$UMOUNT = "/bin/umount";
$TMPASSWD = "$ETCDIR/passwd";
......@@ -2256,7 +2256,7 @@ sub os_get_partition_info($$)
sub os_nfsmount($$)
my ($remote,$local) = @_;
my $opts = "vers=2,udp";
my $opts = "udp";
# XXX doesn't work without this
if (INXENVM()) {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment