ccloudvm is a tool for building VM based development environments from cloud images, such as clear linux. Unfortunately, I'm having some issues getting it to work with Clearlinux.
I'm adding this issue as a meta bug to track everything. It's also a good place to keep the instructions needed to reproduce the issues. And here they are.
Download and install Go
Go 1.8 or above should work. If you don't have Go installed run the following commands.
Note that the command will never complete. This is because the cloud-init file is not processed correctly. However, if you follow the on screen instructions you should see a command that will allow you to connect to the instance, i.e., you should see something like this.
Booting VM with 1024 MiB RAM and 1 cpus
To connect to the instance during its creation type
ssh -q -F /dev/null -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o IdentitiesOnly=yes -i /home/user/.ccloudvm/id_rsa 127.3.232.1 -p 10022
Copy and paste that command into a new terminal and you should be able to connect to the instance. You may need to wait 10 seconds or so before the instance boots. Once connected to the instance you can check the ucd errors using journalctl.
ccloudvm is a tool for building VM based development environments from cloud images, such as clear linux. Unfortunately, I'm having some issues getting it to work with Clearlinux.
Most of the issues are related to the bugs below
https://github.com/clearlinux/micro-config-drive/issues/24 https://github.com/clearlinux/micro-config-drive/issues/25 https://github.com/clearlinux/micro-config-drive/issues/27 https://github.com/clearlinux/micro-config-drive/issues/28 https://github.com/clearlinux/micro-config-drive/issues/29 https://github.com/clearlinux/micro-config-drive/issues/30
I'm adding this issue as a meta bug to track everything. It's also a good place to keep the instructions needed to reproduce the issues. And here they are.
Download and install Go
Go 1.8 or above should work. If you don't have Go installed run the following commands.
Build the ccloudvm branch that supports clearlinux
Create a clearlinux instance
Note that the command will never complete. This is because the cloud-init file is not processed correctly. However, if you follow the on screen instructions you should see a command that will allow you to connect to the instance, i.e., you should see something like this.
Copy and paste that command into a new terminal and you should be able to connect to the instance. You may need to wait 10 seconds or so before the instance boots. Once connected to the instance you can check the ucd errors using journalctl.