copr-hv: install profile script

Mostly to setup default libvirt connection string.
This commit is contained in:
Pavel Raiskup 2021-04-23 15:03:26 +02:00
parent bb3fab2d32
commit 9cbb501ef8
2 changed files with 14 additions and 0 deletions

View file

@ -0,0 +1,10 @@
# By default connect to localhost
export LIBVIRT_DEFAULT_URI=qemu:///system
# Pretty large history in virsh...
export VIRSH_HISTSIZE=200000
# Enlarge commandline history
export HISTSIZE=2000000
export HISTIGNORE="ls:exit:cd -:cd ~:cd"
export HISTCONTROL=erasedups:ignoreboth

View file

@ -11,6 +11,10 @@
when: fstab_swap_entry.changed
tags: swap
- name: install the default profile script
copy: src=profile.sh dest=/etc/profile.d/copr-hypervisor.sh
tags: profile_scripts
- name: install libvirtd.conf
copy: src="{{ files }}/virthost/libvirtd.conf" dest=/etc/libvirt/libvirtd.conf
notify: