All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit efd89a43 authored by Leigh B Stoller's avatar Leigh B Stoller

Fix for OPSVM; do not ssh to ops to update exports, run the script

locally on boss.
parent 92cb8478
#!/usr/bin/perl -w
#
# Copyright (c) 2000-2017 University of Utah and the Flux Group.
# Copyright (c) 2000-2018 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -78,6 +78,7 @@ my $LINUX_FSNODE= @LINUX_FSNODE@;
my $NFSMAPTOUSER= "@NFSMAPTOUSER@";
my $WITHZFS = @WITHZFS@;
my $ZFS_NOEXPORT= @ZFS_NOEXPORT@;
my $OPSVM_ENABLE= @OPSVM_ENABLE@;
my $WITHAMD = @WITHAMD@;
my $INC_MOUNTD = @INCREMENTAL_MOUNTD@;
my $NOVNODENFS = @NOVIRTNFSMOUNTS@;
......@@ -719,6 +720,13 @@ if (!$TESTMODE) {
system("/bin/cat $bossmountfile.new");
}
}
elsif ($OPSVM_ENABLE) {
logit("Invoking exports_setup.proxy on boss ...");
system("$PROG < $exportstail") == 0 or
fatal("Failed: $PROG < $exportstail: $?");
logit("exports_setup.proxy done");
unlink("$exportstail");
}
else {
my $arg = ($incremental ? "-i" : "");
......
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