cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Sorensen <shadow...@gmail.com>
Subject Re: git commit: updated refs/heads/master to 81e1ba3
Date Fri, 19 Apr 2013 03:52:57 GMT
Er, I guess you're asking about the mkdir specifically. I have no idea why
we'd be doing that in the first place, I'd also be interested in knowing
that.
On Apr 18, 2013 9:51 PM, "Marcus Sorensen" <shadowsor@gmail.com> wrote:

> Those udev rules are often a pain when using VM templates. Their purpose
> is to tie a specific MAC address to an eth# dev, so for example if you
> configure an IP address for eth0 and then change the mac address (via VM
> clone or some such), you suddenly have no IP at all, no eth0, and an eth1
> tied to the new MAC.
>
> The rule in /etc has the MAC to eth# mappings, and the one in /lib creates
> the one in /etc.
> On Apr 18, 2013 9:41 PM, "Chip Childers" <chip.childers@sungard.com>
> wrote:
>
>>
>> Hey Rohit,
>>
>> Can you explain the change below?  I'm mostly curious.
>>
>> On Fri, Apr 19, 2013 at 03:36:36AM +0000, bhaisaab@apache.org wrote:
>> > Updated Branches:
>> >   refs/heads/master ca6873a9d -> 81e1ba3bb
>> >
>> >
>> > appliance: Don't mkdir 70-persistent-net.rules for systemvms
>> >
>> > Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
>> >
>> >
>> > Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
>> > Commit:
>> http://git-wip-us.apache.org/repos/asf/cloudstack/commit/81e1ba3b
>> > Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/81e1ba3b
>> > Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/81e1ba3b
>> >
>> > Branch: refs/heads/master
>> > Commit: 81e1ba3bb406f9546f0d46ccbfa3fbbb35b762e2
>> > Parents: ca6873a
>> > Author: Rohit Yadav <bhaisaab@apache.org>
>> > Authored: Fri Apr 19 09:05:42 2013 +0530
>> > Committer: Rohit Yadav <bhaisaab@apache.org>
>> > Committed: Fri Apr 19 09:05:42 2013 +0530
>> >
>> > ----------------------------------------------------------------------
>> >  .../definitions/systemvmtemplate/cleanup.sh        |    1 -
>> >  .../definitions/systemvmtemplate64/cleanup.sh      |    1 -
>> >  2 files changed, 0 insertions(+), 2 deletions(-)
>> > ----------------------------------------------------------------------
>> >
>> >
>> >
>> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/81e1ba3b/tools/appliance/definitions/systemvmtemplate/cleanup.sh
>> > ----------------------------------------------------------------------
>> > diff --git a/tools/appliance/definitions/systemvmtemplate/cleanup.sh
>> b/tools/appliance/definitions/systemvmtemplate/cleanup.sh
>> > index 9e98ab0..701d8d8 100644
>> > --- a/tools/appliance/definitions/systemvmtemplate/cleanup.sh
>> > +++ b/tools/appliance/definitions/systemvmtemplate/cleanup.sh
>> > @@ -12,7 +12,6 @@ rm /var/lib/dhcp/*
>> >  # Make sure Udev doesn't block our network
>> >  echo "cleaning up udev rules"
>> >  rm /etc/udev/rules.d/70-persistent-net.rules
>> > -mkdir /etc/udev/rules.d/70-persistent-net.rules
>> >  rm -rf /dev/.udev/
>> >  rm /lib/udev/rules.d/75-persistent-net-generator.rules
>> >
>> >
>> >
>> http://git-wip-us.apache.org/repos/asf/cloudstack/blob/81e1ba3b/tools/appliance/definitions/systemvmtemplate64/cleanup.sh
>> > ----------------------------------------------------------------------
>> > diff --git a/tools/appliance/definitions/systemvmtemplate64/cleanup.sh
>> b/tools/appliance/definitions/systemvmtemplate64/cleanup.sh
>> > index 9e98ab0..701d8d8 100644
>> > --- a/tools/appliance/definitions/systemvmtemplate64/cleanup.sh
>> > +++ b/tools/appliance/definitions/systemvmtemplate64/cleanup.sh
>> > @@ -12,7 +12,6 @@ rm /var/lib/dhcp/*
>> >  # Make sure Udev doesn't block our network
>> >  echo "cleaning up udev rules"
>> >  rm /etc/udev/rules.d/70-persistent-net.rules
>> > -mkdir /etc/udev/rules.d/70-persistent-net.rules
>> >  rm -rf /dev/.udev/
>> >  rm /lib/udev/rules.d/75-persistent-net-generator.rules
>> >
>> >
>> >
>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message