tiny-cloud merge requestshttps://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests2023-05-18T08:10:23Zhttps://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/54Draft: Add user-data ntp, apk, packages, bootcmd and runcmd2023-05-18T08:10:23ZNatanael CopaDraft: Add user-data ntp, apk, packages, bootcmd and runcmdAdd support for various user-data keys in yaml.
- ntp
- apk cache
- apk repositories
- packages
- boocmd
- runcmd
This should be rebased on top of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/53Add support for various user-data keys in yaml.
- ntp
- apk cache
- apk repositories
- packages
- boocmd
- runcmd
This should be rebased on top of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/53https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/42Draft: support autoinstall from user-data2023-05-18T08:10:23ZNatanael CopaDraft: support autoinstall from user-datachanges in meta-data:
- [x] support local-hostname for compatibility with cloud-init
- [x] support for network-interfaces
- [x] support for resolv_conf (in case staic ip is set by network-interfaces)
- [x] ensure network is started if n...changes in meta-data:
- [x] support local-hostname for compatibility with cloud-init
- [x] support for network-interfaces
- [x] support for resolv_conf (in case staic ip is set by network-interfaces)
- [x] ensure network is started if needed (do we support air-gapped installs?)
- [x] create default user (this could be done from post-install scripts)
Add support for applying user-data yaml.
The following keys are supported:
- [x] bootcmd
- [x] ntp
- [x] apk
- [x] packages
- [x] runcmd
- [ ] timezone
- [ ] keyboard
- [ ] write_files
- [ ] groups
- [ ] users
- [ ] disk_setup
- [ ] fs_setuphttps://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/74Draft: Use tabs instead of spaces and add .editorconfig2023-05-17T11:16:16ZNatanael CopaDraft: Use tabs instead of spaces and add .editorconfigUse tabs.
I created this so you can get an idea how it would look like with tabs instead of spaces.
This should not be merged as is, as it would create conflicts for the other open merge requests.Use tabs.
I created this so you can get an idea how it would look like with tabs instead of spaces.
This should not be merged as is, as it would create conflicts for the other open merge requests.https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/67Fix Makefile2023-05-13T23:02:21ZJake Buchholz GöktürkFix Makefilealso minor log tweakalso minor log tweakJake Buchholz GöktürkJake Buchholz Göktürkhttps://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/62Add a 'net' phase for loading user-data2023-05-09T14:28:17ZNatanael CopaAdd a 'net' phase for loading user-dataWe need load user-data separately before running main phase but after
network is up. Introduce a 'net' boot stage, similar to what cloud-init
does.
ref: https://cloudinit.readthedocs.io/en/latest/explanation/boot.html#network
ref: https...We need load user-data separately before running main phase but after
network is up. Introduce a 'net' boot stage, similar to what cloud-init
does.
ref: https://cloudinit.readthedocs.io/en/latest/explanation/boot.html#network
ref: https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/53#note_306147https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/52Add support for auto-configure network at early boot2023-05-07T23:51:40ZNatanael CopaAdd support for auto-configure network at early bootWe need be able to let the cloud proviers configure the network before
binging it up. Add a `set_network_config` action that is run in early
phase.
Default to simply call assemble-interfaces, and add some logic to autodetect which NIC i...We need be able to let the cloud proviers configure the network before
binging it up. Add a `set_network_config` action that is run in early
phase.
Default to simply call assemble-interfaces, and add some logic to autodetect which NIC is connected in nocloud provider. This means that if you have multiple ethernets, nocloud will pick the one that is connected (carrier detected) or fallback to the first (usually eth0).https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/41Use local-hostname for nocloud's meta from cmdline2023-05-04T09:56:24ZNatanael CopaUse local-hostname for nocloud's meta from cmdlinepermitted keys for nocloud's cmdline are:
h or local-hostname
i or instace-id
s or seedfrom
https://cloudinit.readthedocs.io/en/latest/reference/datasources/nocloud.html#permitted-keys
Add support for imds @local-hostname, as also ...permitted keys for nocloud's cmdline are:
h or local-hostname
i or instace-id
s or seedfrom
https://cloudinit.readthedocs.io/en/latest/reference/datasources/nocloud.html#permitted-keys
Add support for imds @local-hostname, as also aws supports that key.https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/39Create default user if it does not exist2023-04-12T12:55:30ZNatanael CopaCreate default user if it does not existUse alpine-conf's setup-user to set up a user and doas.Use alpine-conf's setup-user to set up a user and doas.https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/23feat: support optional compressed user-data2022-07-20T04:50:18ZStefan Reimerfeat: support optional compressed user-datahttps://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/14Optionally Configure EC2 IPv6 on eth02020-08-22T04:39:11ZJake Buchholz GöktürkOptionally Configure EC2 IPv6 on eth0*Created by: tomalok*
* adds `/sbin/ec2-ipv6` tool
* if `EC2_IPV6=true` in `/etc/conf.d/tiny-ec2-bootstrap`...
+ post-up/pre-down `ec2-ipv6` scripts added to eth0 in `/etc/network/interfaces`
+ configures EC2 IPv6 addresses curre...*Created by: tomalok*
* adds `/sbin/ec2-ipv6` tool
* if `EC2_IPV6=true` in `/etc/conf.d/tiny-ec2-bootstrap`...
+ post-up/pre-down `ec2-ipv6` scripts added to eth0 in `/etc/network/interfaces`
+ configures EC2 IPv6 addresses currently associated with eth0https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud/-/merge_requests/7add support for imds version 22020-05-05T22:10:12ZJake Buchholz Göktürkadd support for imds version 2*Created by: junkb*
adds support for imds version 2*Created by: junkb*
adds support for imds version 2