Commit ca132f40 authored by Martin Peres's avatar Martin Peres
Browse files

initscript: mount the cache partition earlier

The network can take a while to be up, so let's do as much as we can
ahead of blocking on it!
parent 53460ceb
...@@ -366,15 +366,15 @@ set -x ...@@ -366,15 +366,15 @@ set -x
# Load the user-requested modules # Load the user-requested modules
load_modules $ARG_MODULES load_modules $ARG_MODULES
# Mount the cache partition
mount_cache_partition
# Connect to the network, now that the modules are loaded # Connect to the network, now that the modules are loaded
connect connect
# Set the time # Set the time
ntp_set $ARG_NTP_PEER ntp_set $ARG_NTP_PEER
# Mount the cache partition
mount_cache_partition
# Start the containers # Start the containers
setup_container_runtime setup_container_runtime
start_containers "$ARG_CONTAINER" start_containers "$ARG_CONTAINER"
......
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