-
Notifications
You must be signed in to change notification settings - Fork 53
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
arm: create COS_PERSISTENT instead of COS_OEM #1023
Conversation
1a26c1d
to
8b4be91
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, with this you are not loosing OEM functionality, you can still plug a USB having the OEM label with some custom cloud init data and it would be executed.
Note you are forgetting to update examples/odroid-c2/files/system/oem/01_layout.yaml
Good catch, I actually forgot to commit its deletion 😓 |
Oh wait, I did commit it, I've deleted both layout files as now |
d47ee68
to
0777a1a
Compare
This might need rancher-sandbox/cos-toolkit-docs#67 |
Add a cloud-init also to automatically expand the COS_PERSISTENT partition on first boot Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
0777a1a
to
29e149f
Compare
seems adding |
ok, seems to boot when creating an COS_OEM (even from an .img file). So looks like entries listed in |
@davidcassany needs a re-review please as things changed slightly. It looks like the OEM partition is required if specified in Is there a way to override the default ? by looking at the code at a quick glance I didn't noticed, but not sure if I might have missed something |
521a743
to
71c0985
Compare
Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
71c0985
to
85c52db
Compare
ok so after discussing with @davidcassany OEM gets tried to be mounted by default even if not specified inside |
ok now booting works. However automatic resizing of COS_PERSISTENT it doesn't. Fails silently here with an exit 2. I'd say to merge this and create a follow-up for the partition resizing as it is out of purpose (and can be workarounded easily after image creation too). |
Add a cloud-init also to automatically expand the COS_PERSISTENT
partition on first boot.
Tied to #930
Still testing it
Signed-off-by: Ettore Di Giacinto edigiacinto@suse.com