diff options
author | Scott Moser <smoser@ubuntu.com> | 2014-01-22 16:54:07 -0500 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2014-01-22 16:54:07 -0500 |
commit | 84514cdff8ff025df052fe6301d2a7ed751d7d61 (patch) | |
tree | e2a550842d404c4709537122364fd668089259c3 /tests/unittests/test_datasource | |
parent | e26ac6b63072f3217de2fc9214584e61682cd211 (diff) | |
download | vyos-cloud-init-84514cdff8ff025df052fe6301d2a7ed751d7d61.tar.gz vyos-cloud-init-84514cdff8ff025df052fe6301d2a7ed751d7d61.zip |
cc_resizefs: figure out what /dev/root means via kernel cmdline
If mount_info says that the root filesystem is on /dev/root and
/dev/root does not exist, then we'll try to glean that information
from the linux kernel cmdline.
This situation occurs at least when you boot without an initramfs
for the current ppc64el cloud images:
qemu-system-ppc64 ... -kernel my.kernel -append 'root=/dev/sda'
When doing that, /proc/1/mountinfo will say '/dev/root' for '/'.
Diffstat (limited to 'tests/unittests/test_datasource')
0 files changed, 0 insertions, 0 deletions