Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation should describe OpenStack use #6

Open
mjbright opened this issue Dec 22, 2017 · 1 comment
Open

Documentation should describe OpenStack use #6

mjbright opened this issue Dec 22, 2017 · 1 comment

Comments

@mjbright
Copy link

Docs should describe how to build OpenStack qcow2 images
Building examples, e.g. acorn provide an acorn ELF binary and an acorn image with DOS/MBR.

Presumably a conversion of the form
qemu-img convert -O qcow2 acorn.img acorn.qcow2
is required

Then upload the image as
openstack image create --container-format bare --disk-format qcow2 --file acorn.qcow2 includeos_acorn

The create a server using something like
openstack server create --nic net-id=mynet --flavor tiny --image includeos_acorn includeos_acorn

But as openstack console log show includeos_acorn shows no text, presumably there are other necessary steps.

@mjbright
Copy link
Author

mjbright commented Dec 28, 2017

For info, I did succeed with booting this on OpenStack.

I needed to modify my image (includeos_acorn) as follows:
openstack image set --property hw_disk_bus=ide includeos_acorn

I found this perusing an old issue, it would be nice to document this here.
Once I'd done that I could obtain the console output using
openstack console log show includeos_acorn

I'd also forgotten to specifically create a security group allowing access to port 80 for the acorn web server example.

Once I'd done that I could access the acorn web server.

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

No branches or pull requests

1 participant