summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorIgor Galić <igalic@brainsware.at>2018-11-14 22:02:18 +0000
committerServer Team CI Bot <josh.powers+server-team-bot@canonical.com>2018-11-14 22:02:18 +0000
commita3812a4ab4eeb2aa185eb4a2de186cc60ddd7c03 (patch)
treefec2e54908fb77409acc56ad57a00910c5b0cfd0 /setup.py
parent6062595b83e08e0f12e1fe6d8e367d8db9d91ef8 (diff)
downloadvyos-cloud-init-a3812a4ab4eeb2aa185eb4a2de186cc60ddd7c03.tar.gz
vyos-cloud-init-a3812a4ab4eeb2aa185eb4a2de186cc60ddd7c03.zip
resizefs: Prefix discovered devpath with '/dev/' when path does not exist
In some environments, like FreeBSD, gpart can return the device basename instead of the full path. If this discovered devpath does not exist and is missing the '/dev/' prefix, add that prefix in an attempt to find the device.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions