Disable color in bootloader for serial console
This commit is contained in:
parent
1b80cf6e65
commit
7a3114b699
2 changed files with 12 additions and 2 deletions
|
@ -22,6 +22,6 @@
|
||||||
- import_tasks: xorg.yml
|
- import_tasks: xorg.yml
|
||||||
when: gui == true
|
when: gui == true
|
||||||
- import_tasks: qemu-guest.yml
|
- import_tasks: qemu-guest.yml
|
||||||
when: gui == true and ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm"
|
when: ansible_virtualization_role == "guest" and ansible_virtualization_type == "kvm"
|
||||||
- import_tasks: gnome.yml
|
- import_tasks: gnome.yml
|
||||||
when: gui == true
|
when: gui == true
|
||||||
|
|
|
@ -13,6 +13,13 @@
|
||||||
# See the License for the specific language governing permissions and
|
# See the License for the specific language governing permissions and
|
||||||
# limitations under the License.
|
# limitations under the License.
|
||||||
|
|
||||||
|
- name: Disable bootloader color
|
||||||
|
become: true
|
||||||
|
ansible.builtin.lineinfile:
|
||||||
|
path: /boot/loader.conf.d/qemu.conf
|
||||||
|
regexp: '^loader_color=.*'
|
||||||
|
line: 'loader_color="NO"'
|
||||||
|
create: yes
|
||||||
- name: Install QEMU packages
|
- name: Install QEMU packages
|
||||||
become: true
|
become: true
|
||||||
community.general.pkgng:
|
community.general.pkgng:
|
||||||
|
@ -20,15 +27,18 @@
|
||||||
# xf86-video-scfb is needed for video acceleration and Gnome.
|
# xf86-video-scfb is needed for video acceleration and Gnome.
|
||||||
name: utouch-kmod,xf86-input-evdev,xf86-video-scfb
|
name: utouch-kmod,xf86-input-evdev,xf86-video-scfb
|
||||||
state: present
|
state: present
|
||||||
|
when: gui == true
|
||||||
- name: Set xorg screen
|
- name: Set xorg screen
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.copy:
|
ansible.builtin.copy:
|
||||||
src: screen-qemu.conf
|
src: screen-qemu.conf
|
||||||
dest: /usr/local/etc/X11/xorg.conf.d/screen-qemu.conf
|
dest: /usr/local/etc/X11/xorg.conf.d/screen-qemu.conf
|
||||||
|
when: gui == true
|
||||||
- name: Enable utouch module
|
- name: Enable utouch module
|
||||||
become: true
|
become: true
|
||||||
ansible.builtin.lineinfile:
|
ansible.builtin.lineinfile:
|
||||||
path: /boot/loader.conf.d/utouch.conf
|
path: /boot/loader.conf.d/qemu.conf
|
||||||
regexp: '^utouch_load=.*'
|
regexp: '^utouch_load=.*'
|
||||||
line: 'utouch_load="YES"'
|
line: 'utouch_load="YES"'
|
||||||
create: yes
|
create: yes
|
||||||
|
when: gui == true
|
||||||
|
|
Loading…
Reference in a new issue