Skip to content
This repository has been archived by the owner on Aug 4, 2022. It is now read-only.

Unable to create lx zone with Joyent image #15

Closed
gjnoonan opened this issue Apr 1, 2019 · 3 comments
Closed

Unable to create lx zone with Joyent image #15

gjnoonan opened this issue Apr 1, 2019 · 3 comments

Comments

@gjnoonan
Copy link
Contributor

gjnoonan commented Apr 1, 2019

I am trying to create a centos zone, I have pulled the image from joyent with the following;

$ pfexec zcage pull --image 3dbbdcca-2eab-11e8-b925-23bf77789921 --provider=joyent

Downloading image 3dbbdcca-2eab-11e8-b925-23bf77789921
100% |  262120284  bytes out of 262120284 bytes.2120284 bytes..
VM image downloaded succesfully

But when I try to create a zone I get an error message

$ zcage create --alias=test --net "test0|$ip/24|$r" --ram=512mb --with-image=3dbbdcca-2eab-11e8-b925-23bf77789921 --type=lx
There is no image , first execute: pfexec zcage pull --image <uuid> or zcage fetch <url>.

I have tried with and without pfexec.

when I list local images, there is nothing either.

$ zcage images --list local

Locally available images from other sources
------------------------------------
file
@cneira
Copy link
Owner

cneira commented Apr 2, 2019

Hi @gjnoonan
There is a regression in master, I already fixed. Could you try again?

$ zcage create --alias=test --net "test0|$ip/24|$r" --ram=512mb --with-image=3dbbdcca-2eab-11e8-b925-23bf77789921 --type=lx

It should not be --type=lx the correct keyword is --brand=lx.

Thanks a lot for catching this one and submit the issue !!

@gjnoonan
Copy link
Contributor Author

gjnoonan commented Apr 2, 2019

Thanks for the quick response @cneira, it's working perfectly :-)

@gjnoonan gjnoonan closed this as completed Apr 2, 2019
@cneira
Copy link
Owner

cneira commented Apr 2, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants