mirror of
https://github.com/k3s-io/k3s-ansible.git
synced 2026-10-23 03:22:03 +02:00
Add archlinux (aarch64) support (#146)
* Add archlinux (aarch64) support Signed-off-by: Assaf Sapir <meijin007@gmail.com>
This commit is contained in:
1 parent
83de43125b
commit
057b3bfc07
4 files changed
+26
-3
No files matched your search
@@ -0,0 +1,14 @@
|
||||
---
|
||||
- name: Enable cgroup via boot commandline if not already enabled for Archlinux
|
||||
lineinfile:
|
||||
path: /boot/boot.txt
|
||||
search_string: setenv bootargs console=ttyS1,115200 console=tty0 root=PARTUUID=${uuid} rw rootwait smsc95xx.macaddr="${usbethaddr}"
|
||||
line: setenv bootargs console=ttyS1,115200 console=tty0 root=PARTUUID=${uuid} rw rootwait smsc95xx.macaddr="${usbethaddr}" cgroup_enable=cpuset cgroup_memory=1 cgroup_enable=memory
|
||||
register: kernel_cmdline_cgroup
|
||||
|
||||
- name: Create
|
||||
shell: ./mkscr
|
||||
args:
|
||||
chdir: /boot
|
||||
notify: reboot
|
||||
when: kernel_cmdline_cgroup.changed
|
||||
Reference in new issue
Block a user