~josvaz/vmbuilder/jenkins_kvm-revert-eth1+

Viewing all changes in revision 769.

  • Committer: Jose Vazquez
  • Date: 2016-10-13 11:31:03 UTC
  • Revision ID: jose.vazquez@canonical.com-20161013113103-5sagvogs89s9hg0r
Moved to already ephemeral /run mount + refactors

/run is already an ephemeral mount point, so basing of this saves us the
manual mounting both on image generation and to avoid race conditions 
later. We do however need to make sure the directory actually exists 
before adding *.cfg entries.

Moved the udev script from /etc/udev to /usr/local/sbin and renamed it.

Added extra filtering on the udev rule to only trigger on 'eth[0-9]*'

Fixed udev to be the default case, and made a test that SUITE is an 
expected non empty lower case name.

And fixed some indentation on calling the udev function.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: