Commit 715ad7fa authored by Volker Hilsheimer's avatar Volker Hilsheimer
Browse files

Interpret reboot attribute in roles, use it for centos/gnome

Otherwise, the autologin doesn't work.
parent bf696678
......@@ -311,6 +311,7 @@ def add_role(box, role, name, machine)
upload_path: upload_path,
privileged: true
}
attributes[:reboot] = !!role_params["reboot"]
begin
ex_attributes["shell"].each do |key, value|
key = key.to_sym
......
......@@ -41,6 +41,7 @@ machines:
- role: script
script: "sed -i 's/^SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config"
- role: linux-desktop
reboot: true
- role: linux-builder
- name: opensuse15
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment