merge
This commit is contained in:
commit
b305ea4a3d
3 changed files with 10 additions and 2 deletions
|
@ -145,7 +145,7 @@ fn main{
|
|||
}
|
||||
|
||||
# remove enviroment variables
|
||||
rm -f /env/^$mt /env/? /env/?? '/env/fn#'*
|
||||
rm -f '#e/'^$mt '#e/'? '#e/'?? '#e/fn#'*
|
||||
|
||||
# remove part of our temporary root
|
||||
/mnt/broot/$cputype/bin/unmount /$cputype/bin /bin
|
||||
|
|
|
@ -25,6 +25,13 @@ fn confignet{
|
|||
if(~ $#auth 0)
|
||||
ask auth ' ip is? ' $fs(1)
|
||||
|
||||
# resolve dns names
|
||||
if(test -x /bin/ndb/dnsgetip){
|
||||
for(i in fs auth secstore){
|
||||
$i=`{for(x in $$i) ndb/dnsgetip -a $x}
|
||||
}
|
||||
}
|
||||
|
||||
# set bootstrap authservers for factotum
|
||||
if(! ~ $#auth 0){
|
||||
grep -v '^[ ]*auth=' /net/ndb >/env/x
|
||||
|
|
|
@ -14,7 +14,6 @@ $objtype
|
|||
dd
|
||||
disk
|
||||
fdisk
|
||||
kfs
|
||||
prep
|
||||
dossrv
|
||||
echo
|
||||
|
@ -27,6 +26,8 @@ $objtype
|
|||
mntgen
|
||||
mount
|
||||
mv
|
||||
ndb
|
||||
dnsgetip
|
||||
hjfs
|
||||
rc
|
||||
rm
|
||||
|
|
Loading…
Reference in a new issue