forked from kairos-io/kairos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixing ubuntu image boot up issue. (kairos-io#133)
* Fixing ubuntu image boot up issue. * Adding ubuntu to CI workflow Signed-off-by: vipsharm <sharma.vipin@gmail.com> * Fixing the sudoers file Signed-off-by: vipsharm <sharma.vipin@gmail.com> * Update overlay/files-ubuntu/etc/elemental/config.yaml Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com> Signed-off-by: vipsharm <sharma.vipin@gmail.com> * Update overlay/files-ubuntu/etc/elemental/config.yaml Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com> Signed-off-by: vipsharm <sharma.vipin@gmail.com> * Update overlay/files-ubuntu/etc/elemental/config.yaml Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com> Signed-off-by: vipsharm <sharma.vipin@gmail.com> * Update 11_persistency.yaml Signed-off-by: vipsharm <sharma.vipin@gmail.com> * Create 06_rootfs.yaml Signed-off-by: vipsharm <sharma.vipin@gmail.com> * Fixing the kernel for Ubuntu Signed-off-by: vipsharm <sharma.vipin@gmail.com> * Making partition size bigger for amd arch Signed-off-by: vipsharm <sharma.vipin@gmail.com> * ARM config file for partition sizes Signed-off-by: vipsharm <sharma.vipin@gmail.com> * 🤖 Adapt tests for ubuntu output * ⚙️ Increase default size on ubuntu images * 🤖 Increase default test images disk size * Update build_vm.sh Signed-off-by: vipsharm <sharma.vipin@gmail.com> * Adding jq to ubuntu image, needed for stylus Signed-off-by: vipsharm <sharma.vipin@gmail.com> * Update bootargs.cfg Signed-off-by: vipsharm <sharma.vipin@gmail.com> * ♻️ Drop workaround * Ubuntu VM needs to be started with OS type flag Signed-off-by: vipsharm <sharma.vipin@gmail.com> Signed-off-by: vipsharm <sharma.vipin@gmail.com> Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
- Loading branch information
Showing
14 changed files
with
96 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
cosign: false | ||
verify: false | ||
install: | ||
grub-entry-name: "kairos" | ||
system: | ||
size: 2000 | ||
recovery-system: | ||
size: 2000 | ||
upgrade: | ||
grub-entry-name: "kairos" | ||
recovery-system: | ||
size: 2000 | ||
system: | ||
size: 2000 | ||
reset: | ||
grub-entry-name: "kairos" | ||
system: | ||
size: 2000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
cosign: false | ||
verify: false | ||
install: | ||
# Ubuntu rootfs is bigger. | ||
partitions: | ||
state: | ||
size: 20000 | ||
recovery: | ||
size: 15000 | ||
oem: | ||
size: 64 | ||
grub-entry-name: "Kairos" | ||
system: | ||
size: 5000 | ||
recovery-system: | ||
size: 5000 | ||
upgrade: | ||
grub-entry-name: "Kairos" | ||
recovery-system: | ||
size: 5000 | ||
system: | ||
size: 5000 | ||
reset: | ||
grub-entry-name: "Kairos" | ||
system: | ||
size: 5000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: "Default network configuration" | ||
stages: | ||
initramfs: | ||
- name: "Setup network" | ||
systemctl: | ||
enable: | ||
- systemd-networkd | ||
disable: | ||
- NetworkManager | ||
files: | ||
- path: /etc/systemd/network/20-dhcp.network | ||
content: | | ||
[Match] | ||
Name=en* | ||
[Network] | ||
DHCP=yes | ||
permissions: 0644 | ||
owner: 0 | ||
group: 0 | ||
commands: | ||
- rm /etc/resolv.conf | ||
- ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf | ||
# dns: | ||
# path: /etc/resolv.conf | ||
# nameservers: | ||
# - 8.8.8.8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,4 +15,4 @@ upgrade: | |
reset: | ||
grub-entry-name: "kairos" | ||
system: | ||
size: 2000 | ||
size: 2000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters