-
Committer:
Robert C Jennings
-
Date:
2018-10-12 14:29:47 UTC
-
Revision ID:
robert.jennings@canonical.com-20181012142947-r5xfwvy0zogqk8c0
Only copy /etc/mtab over when it's not already there for default.tmpl
Otherwise, the build errors out when it tries to copy in the 'fake' mtab:
15:37:27 [ 23.982677] cloud-init[1366]: cp: '/etc/mtab' and '/tmp/builder.ne2f/etc/mtab' are the same file
15:37:27 [ 23.984259] cloud-init[1366]: Wed, 08 Aug 2018 15:37:18 +0000: Unable to copy mtab in place
This has been fixed in other templates but the builder template was missed.