Compare commits

..

2 Commits

Author SHA1 Message Date
c46bdd8337
cloudinit: disable systemd-resolved on first boot
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-14 17:07:15 +02:00
eea2ff1ab4
cloudinit: disable snapd on first boot
All checks were successful
continuous-integration/drone/push Build is passing
2021-07-14 17:05:14 +02:00
4 changed files with 8 additions and 9 deletions

@ -1,7 +1,6 @@
---
- name: prepare device-specific code
shell: |
. ~/.profile
cd ~/android/lineage
. build/envsetup.sh
breakfast {{losdevice}}
@ -10,7 +9,6 @@
- name: build
shell: |
. ~/.profile
cd ~/android/lineage
. build/envsetup.sh
croot &&

@ -38,7 +38,7 @@
- name: set up ccache
shell: |
ccache -M 10G
ccache -M 50G
ccache -o compression=true
args:
executable: /usr/bin/bash
@ -58,7 +58,6 @@
repo sync --force-sync
args:
executable: /usr/bin/bash
ignore_errors: yes
- name: clone the blobs repo
git:

@ -6,9 +6,11 @@ bootcmd:
- uname -r
- timedatectl set-ntp 1
- timedatectl set-timezone Europe/Bratislava
- systemctl stop systemd-resolved
- systemctl disable --now systemd-resolved
- unlink /etc/resolv.conf || true
- echo "nameserver 84.200.69.80" > /etc/resolv.conf
- echo "vm.swappiness=3" >> /etc/sysctl.conf
- systemctl disable --now snapd
- systemctl disable --now snapd.socket
- sleep 10
runcmd:

@ -23,9 +23,9 @@ mode = ["bridge"]
hosts = {
"builder" = {
name = "builder",
vcpu = 2,
memory = 1024 * 10,
diskpool = "tf-pool",
vcpu = 4,
memory = 1024 * 12,
diskpool = "default",
disksize = 1024 * 1024 * 1024 * 150,
mac = "02:26:00:13:37:00",
# sourceimage = "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img",