File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -5,9 +5,6 @@ set -xeuo pipefail
55
66disk=/dev/vda
77
8- udevadm trigger
9- udevadm settle
10-
118# We don't have systemd/udev running
129findlabel () {
1310 local label=$1
Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
2+ # This script is our half-baked ad-hoc reimplementation of a minimal
3+ # Linux boot environment that we generate via `supermin`. At some
4+ # point we will likely switch to using systemd.
5+
26mount -t proc /proc /proc
37mount -t sysfs /sys /sys
48mount -t devtmpfs devtmpfs /dev
@@ -16,6 +20,10 @@ LANG=C /sbin/load_policy -i
1620# need fuse module for rofiles-fuse/bwrap during post scripts run
1721/sbin/modprobe fuse
1822
23+ # we want /dev/disk symlinks for coreos-installer
24+ /usr/lib/systemd/systemd-udevd --daemon
25+ /usr/sbin/udevadm trigger --settle
26+
1927# set up networking
2028if [ -z " ${RUNVM_NONET:- } " ]; then
2129 /usr/sbin/dhclient eth0
You can’t perform that action at this time.
0 commit comments