Closed sax closed 9 years ago
I've done quite a bit of refactoring in the last two days, but still haven't gotten to this. I think the logic for creating zones should move out of the :zone_create
capability and into either Zone
or ZoneInfo
. Probably the latter for now, until that can be refactored into something that makes more sense.
The error appears to be in creating zone users, since when Zonegate is active we're not able to run the capabilities in the global zone. Maybe in capability?
. I think that the :create_zone_users
capability should disappear and that logic should move into the zone creation code. It always needs to run on zone creation, and doesn't need to be separate.
FYI I probably won't have much time this week to fix this, but so far I think it's the last bug that needs fixing before a real plugin release.
Comments prior to this (refactoring) make sense to me.
On 13 Oct 2014, at 21:11, Eric Saxby notifications@github.com wrote:
FYI I probably won't have much time this week to fix this, but so far I think it's the last bug that needs fixing before a real plugin release.
— Reply to this email directly or view it on GitHub.
I'm not sure I understand the problem. I'm also not familiar with the 'vagrant create' command. Are you referring to 'vagrant up'? Also, in the example above, are you configuring multiple vms in your Vagrantfile?
The plugin adds a vagrant zones
command to vagrant, where you can
start/stop/destroy/recreate the zone.
On Tue, Oct 14, 2014 at 3:57 PM, Tyler Flint notifications@github.com wrote:
I'm not sure I understand the problem. I'm also not familiar with the 'vagrant create' command. Are you referring to 'vagrant up'? Also, in the example above, are you configuring multiple vms in your Vagrantfile?
— Reply to this email directly or view it on GitHub https://github.com/vagrant-smartos/vagrant-smartos-zones/issues/19#issuecomment-59123929 .
e s
Oh ok. So were you meaning:
vagrant zones destroy
Thanks
If you do the following:
Then the zone is not created. Something happens between the plugin and
zonegate
that interferes with the guest capabilities.