summaryrefslogtreecommitdiff
path: root/vmdebootstrap
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2016-03-13 14:55:08 +0000
committerNeil Williams <codehelp@debian.org>2016-03-13 15:17:42 +0000
commit33b3f0eb04201214f7a653db329f7ec23e1c1973 (patch)
tree1c48b977963674b077d595473c851862614b3bf1 /vmdebootstrap
parent615f75d32eace577bf73c8dc14813db6aae338a7 (diff)
downloadvmdebootstrap-33b3f0eb04201214f7a653db329f7ec23e1c1973.tar.gz
Fix issue with fstab entry for boot partition
- When bootsize and boottype are passed, the fstab entry for boot partition is getting written with fstype as 'None' leading to boot failures. Fix this. - Also don't fail boot flag check if partition flag information comes out from parted as 'boot, lba' instead of 'boot' Sunil Mohan Adapa <sunil@medhas.org> Bug: #815255
Diffstat (limited to 'vmdebootstrap')
-rw-r--r--vmdebootstrap/filesystem.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/vmdebootstrap/filesystem.py b/vmdebootstrap/filesystem.py
index 0898de9..77f02df 100644
--- a/vmdebootstrap/filesystem.py
+++ b/vmdebootstrap/filesystem.py
@@ -53,6 +53,7 @@ class Filesystem(Base):
def define_settings(self, settings):
self.settings = settings
self.devices['roottype'] = self.settings['roottype']
+ self.devices['boottype'] = self.settings['boottype']
def chown(self):
if not self.settings['owner']: