setup-pvenode fixes
This commit is contained in:
@@ -25,6 +25,10 @@
|
|||||||
block: |
|
block: |
|
||||||
lxc.idmap: u 0 100000 1000
|
lxc.idmap: u 0 100000 1000
|
||||||
lxc.idmap: g 0 100000 1000
|
lxc.idmap: g 0 100000 1000
|
||||||
|
lxc.idmap: g 44 44 1
|
||||||
|
lxc.idmap: g 104 104 1
|
||||||
|
lxc.idmap: g 45 100045 57
|
||||||
|
lxc.idmap: g 104 100045 61
|
||||||
marker: "#{' ' * line_length}# ANSIBLE MANAGED BLOCK"
|
marker: "#{' ' * line_length}# ANSIBLE MANAGED BLOCK"
|
||||||
|
|
||||||
- name: Add mount entry for /dev/net
|
- name: Add mount entry for /dev/net
|
||||||
@@ -45,14 +49,6 @@
|
|||||||
regexp: '^lxc\.cgroup2\.devices\.allow:'
|
regexp: '^lxc\.cgroup2\.devices\.allow:'
|
||||||
line: "lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir"
|
line: "lxc.mount.entry: /dev/dri dev/dri none bind,optional,create=dir"
|
||||||
|
|
||||||
- name: Add remaining idmap configurations
|
|
||||||
blockinfile:
|
|
||||||
path: "{{ config_file }}"
|
|
||||||
block: |
|
|
||||||
lxc.idmap: u 1000 1000 64536
|
|
||||||
lxc.idmap: g 1000 1000 64536
|
|
||||||
marker: "#{' ' * line_length}# ANSIBLE MANAGED BLOCK"
|
|
||||||
|
|
||||||
- name: Start LXC container 218
|
- name: Start LXC container 218
|
||||||
shell: "pct start 218"
|
shell: "pct start 218"
|
||||||
register: start_result
|
register: start_result
|
||||||
|
|||||||
Reference in New Issue
Block a user