Comments (6)
Found an example in one of your other repositories 👍🏼 :
https://github.com/virt-lightning/cloud-init-bsd-testing/blob/master/user_data
I think my key was not in "expected" format:
users:
- default
- name: till
sudo: ALL=(ALL) NOPASSWD:ALL
ssh_authorized_keys:
- - ssh-rsa hash==
+ - ssh-rsa hash== till@local
And from there, I also answered my first question: I found it by including default
in the list of users (which I guess is another cloud-init oddity) that it would create a freebsd
user and showed a comment/description from OpenStack.
Most openstack images create a user when a key is injected, so for example ubuntu
or centos
. Not entirely sure what Debian does, I haven't booted that in a long time.
Would you be open to changing that? I can probably work up a PR if you let me know where.
from freebsd-cloud-images.
Most openstack images create a user when a key is injected, so for example
ubuntu
orcentos
. Not entirely sure what Debian does, I haven't booted that in a long time.Would you be open to changing that? I can probably work up a PR if you let me know where.
Just found /etc/cloud/cloud.cfg
and it already does this, but I ruined it by trying cloud-config first. :)
from freebsd-cloud-images.
Could we add this to the readme? Maybe without the Ansible.
- name: Export the images
command: 'qemu-img convert -f raw -O qcow2 -c images/basehost/builder/final.raw /var/lib/virt-lightning/pool/upstream/{{ final_name }}_exp.qcow2'
args:
creates: '/var/lib/virt-lightning/pool/upstream/{{ final_name }}_exp.qcow2
from freebsd-cloud-images.
Sorry for being slow on this. This is a good idea. Could you open up a PR for that?
from freebsd-cloud-images.
You mean the bit about building an image?
from freebsd-cloud-images.
Never mind, I misunderstood your previous comment. We don't really need to mention this step since the images are already compressed (the -c
).
from freebsd-cloud-images.
Related Issues (3)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from freebsd-cloud-images.