Skip to content

Commit 391e94e

Browse files
Merge pull request #407 from rcitton/rcitton
VBOX: due to UEK4 install and reboot, vagrant mount is required
2 parents 9556fd0 + e815052 commit 391e94e

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

OracleFPP/scripts/setup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
1919
#
2020
# MODIFIED (MM/DD/YY)
21+
# pfierens 11/15/21 - VBOX: due to UEK4 install and reboot, vagrant mount is required
2122
# rcitton 03/30/20 - VBox libvirt & kvm support
2223
# rcitton 10/01/19 - Creation
2324
#
@@ -316,6 +317,9 @@ then
316317
NET_DEVICE2=${NET_DEVICE2:0:-1}
317318
fi
318319

320+
# due to UEK4 install and reboot, mount is required
321+
mount -t vboxsf vagrant /vagrant
322+
319323
cat <<EOL > /vagrant/config/setup.env
320324
#----------------------------------------------------------
321325
# Env Variables

OracleRAC/scripts/setup.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,6 +419,9 @@ EOF
419419
# ---------------------------------------------------------------------
420420
# MAIN
421421
# ---------------------------------------------------------------------
422+
# due to UEK4 install and reboot, mount is required
423+
mount -t vboxsf vagrant /vagrant
424+
422425
if [[ `hostname` == ${VM2_NAME} || (`hostname` == ${VM1_NAME} && "${ORESTART}" == "true") ]]
423426
then
424427
# build the setup.env
@@ -550,7 +553,6 @@ export SUCCESS='\033[1;32mSUCCESS: \033[0m'
550553
EOL
551554
fi
552555

553-
554556
# Setup the env
555557
echo "-----------------------------------------------------------------"
556558
echo -e "${INFO}`date +%F' '%T`: Setup the environment variables"

0 commit comments

Comments
 (0)