~ubuntu-on-ec2/vmbuilder/jenkins_kvm-oddbloke

Viewing all changes in revision 806.

  • Committer: Francis Ginther
  • Date: 2018-08-08 16:41:20 UTC
  • mfrom: (805.1.1 rax-cp-mtab)
  • Revision ID: francis.ginther@canonical.com-20180808164120-703stl2y7u6i63ms
Only copy /etc/mtab over when it's not already there for default.tmpl [a=fginther] [r=daniel-thewatkins,philroche]

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

MP: https://code.launchpad.net/~cloudware/vmbuilder/jenkins_kvm-fginther/+merge/352767

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: