[libvirt-jenkins-ci PATCH v2 0/6] Unattended guest installation and more

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Changes from [v1]:

* guest changes
  - set root password to a user-provided value
  - only allow key-based SSH login for root
  - configure serial console for emergency access
  - disable audio, video and USB
  - allocate 256 MiB for swap instead of 2 GiB
  - allocate 15 GiB for storage instead of 10 GiB
  - use host-passthrough CPU mode
  - set timezone to UTC

* tool changes
  - rename to lcitool
  - implement basic configuration support
  - refuse to run from outside the source directory
  - provide better error messages

* others
  - improve documentation, mainly the host setup part


[v1] https://www.redhat.com/archives/libvir-list/2017-October/msg00651.html

Andrea Bolognani (6):
  guests: Rename from 'ansible'
  guests: Introduce lcitool
  guests: Remove bootstrap phase
  guests: Add unattended installation support
  guests: Configure bootloaders
  guests: Update documentation

 ansible/Makefile                                   |  12 --
 ansible/README.markdown                            |  60 -------
 ansible/bootstrap.yml                              |  15 --
 {ansible => guests}/.gitignore                     |   0
 guests/README.markdown                             |  97 +++++++++++
 {ansible => guests}/ansible.cfg                    |   1 -
 guests/group_vars/all/install.yml                  |  11 ++
 {ansible => guests}/group_vars/all/main.yml        |   5 +
 guests/host_vars/libvirt-centos-6/install.yml      |   3 +
 .../host_vars/libvirt-centos-6/main.yml            |   0
 .../host_vars/libvirt-centos-6/vault.yml           |   0
 guests/host_vars/libvirt-centos-7/install.yml      |   3 +
 .../host_vars/libvirt-centos-7/main.yml            |   0
 .../host_vars/libvirt-centos-7/vault.yml           |   0
 guests/host_vars/libvirt-debian-8/install.yml      |   3 +
 .../host_vars/libvirt-debian-8/main.yml            |   0
 .../host_vars/libvirt-debian-8/vault.yml           |   0
 guests/host_vars/libvirt-debian-9/install.yml      |   3 +
 .../host_vars/libvirt-debian-9/main.yml            |   0
 .../host_vars/libvirt-debian-9/vault.yml           |   0
 guests/host_vars/libvirt-fedora-25/install.yml     |   3 +
 .../host_vars/libvirt-fedora-25/main.yml           |   0
 .../host_vars/libvirt-fedora-25/vault.yml          |   0
 guests/host_vars/libvirt-fedora-26/install.yml     |   3 +
 .../host_vars/libvirt-fedora-26/main.yml           |   0
 .../host_vars/libvirt-fedora-26/vault.yml          |   0
 .../host_vars/libvirt-fedora-rawhide/install.yml   |   3 +
 .../host_vars/libvirt-fedora-rawhide/main.yml      |   0
 .../host_vars/libvirt-fedora-rawhide/vault.yml     |   0
 .../host_vars/libvirt-freebsd-10/main.yml          |   0
 .../host_vars/libvirt-freebsd-10/vault.yml         |   0
 .../host_vars/libvirt-freebsd-11/main.yml          |   0
 .../host_vars/libvirt-freebsd-11/vault.yml         |   0
 guests/host_vars/libvirt-ubuntu-12/install.yml     |   3 +
 .../host_vars/libvirt-ubuntu-12/main.yml           |   0
 .../host_vars/libvirt-ubuntu-12/vault.yml          |   0
 guests/host_vars/libvirt-ubuntu-14/install.yml     |   3 +
 .../host_vars/libvirt-ubuntu-14/main.yml           |   0
 .../host_vars/libvirt-ubuntu-14/vault.yml          |   0
 guests/host_vars/libvirt-ubuntu-16/install.yml     |   3 +
 .../host_vars/libvirt-ubuntu-16/main.yml           |   0
 .../host_vars/libvirt-ubuntu-16/vault.yml          |   0
 {ansible => guests}/inventory                      |   0
 guests/kickstart.cfg                               |  60 +++++++
 guests/lcitool                                     | 183 +++++++++++++++++++++
 guests/preseed.cfg                                 |  85 ++++++++++
 {ansible => guests}/site.yml                       |   8 +
 {ansible => guests}/tasks/base.yml                 |  61 ++++++-
 {ansible => guests}/tasks/bootstrap.yml            |   0
 {ansible => guests}/tasks/compat.yml               |   0
 {ansible => guests}/tasks/jenkins.yml              |   0
 {ansible => guests}/tasks/packages.yml             |   0
 {ansible => guests}/templates/jenkins.service.j2   |   0
 {ansible => guests}/vars/mappings.yml              |   0
 {ansible => guests}/vars/projects/base.yml         |   0
 {ansible => guests}/vars/projects/jenkins.yml      |   0
 {ansible => guests}/vars/projects/libosinfo.yml    |   0
 {ansible => guests}/vars/projects/libvirt-cim.yml  |   0
 {ansible => guests}/vars/projects/libvirt-glib.yml |   0
 .../vars/projects/libvirt-go-xml.yml               |   0
 {ansible => guests}/vars/projects/libvirt-go.yml   |   0
 {ansible => guests}/vars/projects/libvirt-perl.yml |   0
 .../vars/projects/libvirt-python.yml               |   0
 .../vars/projects/libvirt-sandbox.yml              |   0
 {ansible => guests}/vars/projects/libvirt-tck.yml  |   0
 {ansible => guests}/vars/projects/libvirt.yml      |   0
 .../vars/projects/osinfo-db-tools.yml              |   0
 {ansible => guests}/vars/projects/osinfo-db.yml    |   0
 {ansible => guests}/vars/projects/virt-manager.yml |   0
 {ansible => guests}/vars/projects/virt-viewer.yml  |   0
 70 files changed, 539 insertions(+), 89 deletions(-)
 delete mode 100644 ansible/Makefile
 delete mode 100644 ansible/README.markdown
 delete mode 100644 ansible/bootstrap.yml
 rename {ansible => guests}/.gitignore (100%)
 create mode 100644 guests/README.markdown
 rename {ansible => guests}/ansible.cfg (71%)
 create mode 100644 guests/group_vars/all/install.yml
 rename {ansible => guests}/group_vars/all/main.yml (51%)
 create mode 100644 guests/host_vars/libvirt-centos-6/install.yml
 rename {ansible => guests}/host_vars/libvirt-centos-6/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-centos-6/vault.yml (100%)
 create mode 100644 guests/host_vars/libvirt-centos-7/install.yml
 rename {ansible => guests}/host_vars/libvirt-centos-7/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-centos-7/vault.yml (100%)
 create mode 100644 guests/host_vars/libvirt-debian-8/install.yml
 rename {ansible => guests}/host_vars/libvirt-debian-8/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-debian-8/vault.yml (100%)
 create mode 100644 guests/host_vars/libvirt-debian-9/install.yml
 rename {ansible => guests}/host_vars/libvirt-debian-9/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-debian-9/vault.yml (100%)
 create mode 100644 guests/host_vars/libvirt-fedora-25/install.yml
 rename {ansible => guests}/host_vars/libvirt-fedora-25/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-fedora-25/vault.yml (100%)
 create mode 100644 guests/host_vars/libvirt-fedora-26/install.yml
 rename {ansible => guests}/host_vars/libvirt-fedora-26/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-fedora-26/vault.yml (100%)
 create mode 100644 guests/host_vars/libvirt-fedora-rawhide/install.yml
 rename {ansible => guests}/host_vars/libvirt-fedora-rawhide/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-fedora-rawhide/vault.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-freebsd-10/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-freebsd-10/vault.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-freebsd-11/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-freebsd-11/vault.yml (100%)
 create mode 100644 guests/host_vars/libvirt-ubuntu-12/install.yml
 rename {ansible => guests}/host_vars/libvirt-ubuntu-12/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-ubuntu-12/vault.yml (100%)
 create mode 100644 guests/host_vars/libvirt-ubuntu-14/install.yml
 rename {ansible => guests}/host_vars/libvirt-ubuntu-14/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-ubuntu-14/vault.yml (100%)
 create mode 100644 guests/host_vars/libvirt-ubuntu-16/install.yml
 rename {ansible => guests}/host_vars/libvirt-ubuntu-16/main.yml (100%)
 rename {ansible => guests}/host_vars/libvirt-ubuntu-16/vault.yml (100%)
 rename {ansible => guests}/inventory (100%)
 create mode 100644 guests/kickstart.cfg
 create mode 100755 guests/lcitool
 create mode 100644 guests/preseed.cfg
 rename {ansible => guests}/site.yml (83%)
 rename {ansible => guests}/tasks/base.yml (58%)
 rename {ansible => guests}/tasks/bootstrap.yml (100%)
 rename {ansible => guests}/tasks/compat.yml (100%)
 rename {ansible => guests}/tasks/jenkins.yml (100%)
 rename {ansible => guests}/tasks/packages.yml (100%)
 rename {ansible => guests}/templates/jenkins.service.j2 (100%)
 rename {ansible => guests}/vars/mappings.yml (100%)
 rename {ansible => guests}/vars/projects/base.yml (100%)
 rename {ansible => guests}/vars/projects/jenkins.yml (100%)
 rename {ansible => guests}/vars/projects/libosinfo.yml (100%)
 rename {ansible => guests}/vars/projects/libvirt-cim.yml (100%)
 rename {ansible => guests}/vars/projects/libvirt-glib.yml (100%)
 rename {ansible => guests}/vars/projects/libvirt-go-xml.yml (100%)
 rename {ansible => guests}/vars/projects/libvirt-go.yml (100%)
 rename {ansible => guests}/vars/projects/libvirt-perl.yml (100%)
 rename {ansible => guests}/vars/projects/libvirt-python.yml (100%)
 rename {ansible => guests}/vars/projects/libvirt-sandbox.yml (100%)
 rename {ansible => guests}/vars/projects/libvirt-tck.yml (100%)
 rename {ansible => guests}/vars/projects/libvirt.yml (100%)
 rename {ansible => guests}/vars/projects/osinfo-db-tools.yml (100%)
 rename {ansible => guests}/vars/projects/osinfo-db.yml (100%)
 rename {ansible => guests}/vars/projects/virt-manager.yml (100%)
 rename {ansible => guests}/vars/projects/virt-viewer.yml (100%)

-- 
2.13.6

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux