diff options
author | Chris Lumens <clumens@redhat.com> | 2009-10-02 16:37:34 -0400 |
---|---|---|
committer | Chris Lumens <clumens@redhat.com> | 2009-10-05 08:50:17 -0400 |
commit | 18fbf467bc21c57eec4beaf90d8bbc051399a179 (patch) | |
tree | 987a63491a353df3bd5c69439926655d86ca0ed1 /storage/formats/fs.py | |
parent | c3a63e0c154f68ef7ab5a89bfc4476ff9d6f9768 (diff) | |
download | anaconda-18fbf467bc21c57eec4beaf90d8bbc051399a179.tar.gz anaconda-18fbf467bc21c57eec4beaf90d8bbc051399a179.tar.xz anaconda-18fbf467bc21c57eec4beaf90d8bbc051399a179.zip |
Add --label to anaconda-ks.cfg if needed (#526223).
Diffstat (limited to 'storage/formats/fs.py')
-rw-r--r-- | storage/formats/fs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/formats/fs.py b/storage/formats/fs.py index c5499429e..2f3e0ea73 100644 --- a/storage/formats/fs.py +++ b/storage/formats/fs.py @@ -798,6 +798,9 @@ class FS(DeviceFormat): def writeKS(self, f): f.write("%s --fstype=%s" % (self.mountpoint, self.type)) + if self.label: + f.write(" --label=\"%s\"" % self.label) + class Ext2FS(FS): """ ext2 filesystem. """ |