Add bind-mount for /etc/adjtime to make subhost use host clock without ado
[rrq/overlay-boot.git] / overlay-premount
1 #!/bin/sh
2 #
3 # This script performs default actions. It is invoked with CONFIG set
4 # for the subhost.
5
6 OVERLAYDIR="$(dirname $(realpath $0))"
7 . $OVERLAYDIR/functions
8
9 subhost_name "$CONFIG"
10 subhost_config
11
12 # all good so far ; now avoid using the host's networking setup
13 setup_networking "$UPPER"
14