~rcj/vmbuilder/jenkins_kvm-test

Viewing all changes in revision 812.

  • 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: