1 From: Stanislaw Kardach <stanislaw.kardach@caviumnetworks.com>
2 Date: Tue, 8 Mar 2016 21:08:55 +0100
3 Subject: [PATCH] Add fs for efi partition
7 fuel_agent/drivers/nailgun.py | 4 +++-
8 specs/fuel-agent.spec | 1 +
9 3 files changed, 5 insertions(+), 1 deletion(-)
11 diff --git a/debian/control b/debian/control
12 index 189dc00..acfda35 100644
15 @@ -39,6 +39,7 @@ Depends: bzip2,
23 diff --git a/fuel_agent/drivers/nailgun.py b/fuel_agent/drivers/nailgun.py
24 index bc532b4..24d0d64 100644
25 --- a/fuel_agent/drivers/nailgun.py
26 +++ b/fuel_agent/drivers/nailgun.py
27 @@ -324,7 +324,9 @@ class Nailgun(BaseDataDriver):
28 # uefi partition (for future use)
29 LOG.debug('Adding UEFI partition on disk %s: size=200' %
31 - parted.add_partition(size=200, flags=['esp'])
32 + prt = parted.add_partition(size=200, flags=['esp'])
33 + partition_scheme.add_fs(device=prt.name, mount='/boot/efi',
36 LOG.debug('Looping over all volumes on disk %s' % disk['name'])
37 for volume in disk['volumes']:
38 diff --git a/specs/fuel-agent.spec b/specs/fuel-agent.spec
39 index a43f693..c2b9b51 100644
40 --- a/specs/fuel-agent.spec
41 +++ b/specs/fuel-agent.spec
42 @@ -50,6 +50,7 @@ Requires: xfsprogs
48 Requires: qemu-user-static