Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for fedora29 in libvirt and public release #1137

Merged
merged 2 commits into from
Nov 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ public:
- 'debian-8.11'
- 'oracle-7.5'
- 'oracle-6.10'
- 'fedora-29'
- 'fedora-28'
- 'fedora-27'
- 'opensuse-leap-42.3'
Expand Down
38 changes: 38 additions & 0 deletions fedora/fedora-29-x86_64.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
{
"builders": [
{
"type": "qemu",
"vm_name": "{{ user `template` }}",
"name": "{{ user `template` }}",
"output_directory": "../builds/packer-{{user `template`}}-libvirt",
"accelerator": "kvm",
"boot_wait": "10s",
"boot_command": [
"<tab> linux ks=http://{{.HTTPIP}}:{{.HTTPPort}}/{{user `ks_path`}}<enter><wait>"
],
"format": "qcow2",
"disk_size": "{{user `disk_size`}}",
"disk_discard": "unmap",
"disk_cache": "unsafe",
"disk_compression": true,
"disk_interface": "virtio-scsi",
"net_device": "virtio-net",
"qemuargs": [
[
"-m",
"{{ user `memory` }}"
],
[
"-smp",
"cpus={{ user `cpus` }}"
]
],
"http_directory": "http",
"headless": "{{ user `headless` }}",
"iso_checksum": "{{user `iso_checksum`}}",
"iso_checksum_type": "{{user `iso_checksum_type`}}",
"iso_url": "{{user `mirror`}}/{{user `mirror_directory`}}/{{user `iso_name`}}",
"ssh_username": "vagrant",
"ssh_password": "vagrant",
"ssh_port": 22,
"ssh_wait_timeout": "3600s",
"shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now"
},
{
"boot_command": [
"<tab> linux ks=http://{{ .HTTPIP }}:{{ .HTTPPort }}/{{user `ks_path`}}<enter><wait>"
Expand Down
8 changes: 4 additions & 4 deletions fedora/http/ks-fedora29.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ install
cdrom
lang en_US.UTF-8
keyboard us
network --bootproto=dhcp
rootpw vagrant
network --bootproto=dhcp --noipv6
rootpw --plaintext vagrant
firewall --disabled
authconfig --enableshadow --passalgo=sha512
selinux --permissive
Expand All @@ -13,9 +13,9 @@ text
skipx
zerombr
clearpart --all --initlabel
part / --fstype=ext4 --ondisk=sda --grow --label=root
autopart --nohome --nolvm --noboot --fstype=ext4
firstboot --disabled
reboot
reboot --eject
user --name=vagrant --plaintext --password vagrant

%packages --ignoremissing --excludedocs
Expand Down