Giovanni Torres
498bc9b28c
Added fedora26-atomic distro option
9 years ago
Giovanni Torres
52330788de
Added fedora26-atomic distro option
9 years ago
Giovanni Torres
d87c1210bf
Replaced deprecated --ram with --memory
9 years ago
Giovanni Torres
c576445623
Added example
9 years ago
Giovanni Torres
d6ffd362dc
Change wget params to work on Fedora and CentOS.
9 years ago
Giovanni Torres
5c98f12e44
Edited description
9 years ago
Giovanni Torres
6f01c2bc58
Fixed order
9 years ago
Giovanni Torres
d192f9ebd2
Added timezone option.
...
- Alphabetized the case statement of options.
- Added timezone example to README.
9 years ago
Giovanni Torres
2d8ea57d0a
Changed default for mac
9 years ago
Giovanni Torres
e776a16483
Fixed default path to $HOME
9 years ago
Giovanni Torres
7e65f477a0
Updated usage function
9 years ago
Giovanni Torres
e964b4b28d
Updated usage function
9 years ago
Giovanni Torres
d438e5ff57
Edited README
9 years ago
Giovanni Torres
a19b336524
Added CentOS Atomic Host distribution option
9 years ago
Giovanni Torres
d32d5cd3e6
Updated usage with logins and descriptions
9 years ago
Giovanni Torres
5f54a0f04b
Debian 9 distro now working.
...
- Turns out setting --graphics=none was problematic only for Debian images. It
is now set to --graphics=spice. The Debian 8 openstack image still doesn't
work. I get connection refused on the SSH port. Will keep looking into it.
9 years ago
Giovanni Torres
6433442e12
Refactor network params
9 years ago
Giovanni Torres
9ad041b88b
Changed date format in echo statements.
9 years ago
Giovanni Torres
e95803d5b6
Fix bug in wget URL.
...
- Added Fedora 26 as an option.
9 years ago
Giovanni Torres
b6a4a1c0f0
Create storage pool ahead of virt-install.
...
- noticed with Fedora26 or a more recent version of libvirt that if the storage pool doesn't exist before running virt-install, I started getting the following error:
Error: --disk baz.qcow2,format=qcow2,bus=virtio: 'vols'
In debug mode, the tail end of the traceback was:
File "/usr/share/virt-manager/virtinst/connection.py", line 252, in _cache_new_pool_raw
vollist = self._fetch_cache[self._FETCH_KEY_VOLS]
KeyError: 'vols'
Seems like precreating the storage pool fixes this problem. Without it, running the script a second time would work because the storage pool was created on the first go.
- other refactoring
9 years ago
Giovanni Torres
de483af418
Updated README with two new flags (-f and -M).
...
- Also, ubuntu1604 is a distribution option.
9 years ago
Giovanni Torres
1e113e426e
Merge branch 'cedlerouge-nested-virt'
9 years ago
Giovanni Torres
b0ccc14f4e
Removed debian from help message.
...
- renamed ubuntu16 to ubuntu1604
- other minor changes
9 years ago
Cedric Roger
b257c85544
Added options for setting:
...
- cpu - set cpu model and feature (nested)
- mac address (for example ovh mac address)
Added ubuntu distro
9 years ago
Giovanni Torres
9c4a1b76c6
Added link to CentOS cloud images
9 years ago
Giovanni Torres
1d8df7697c
Remove pkg from list
9 years ago
Giovanni Torres
ee2da06865
Edited README
9 years ago
Giovanni Torres
a58e96b0c1
Added notes on prerequisites
9 years ago
Giovanni Torres
468ea607af
Updated README
9 years ago
Giovanni Torres
870daa1f00
Disable graphics.
...
- Check for return value of virt-install and bail if it fails.
9 years ago
Giovanni Torres
913131bbd0
Edited README
9 years ago
Giovanni Torres
ff7dabf872
Added README
9 years ago
Giovanni Torres
9a57d062a9
Added option to specify custom qcow2 image.
...
- Also, reverted cloud init config
9 years ago
Giovanni Torres
aa3bd97817
Remove debian8 from usage() and change flag of IMAGEDIR to -l
9 years ago
Giovanni Torres
9cb8fbd718
Fix backticks to regular single quotes
9 years ago
Giovanni Torres
507e4677ab
Renamed script to be more generic.
...
Currently supports CentOS 6 and 7. I plan to support Debian 8 as well.
9 years ago
Giovanni Torres
fc4e5046e9
Removed hardcoded options.
...
Added options for setting:
- vCPUs
- Memory
- Disk Size
- Distribution
- Local image directory
- SSH pubkey
- Virtual bridge
9 years ago
Giovanni Torres
76ec4a3ed2
Added ability to resize disk.
...
- set RESIZE_DISK to true and DISK_SIZE to your desired size
9 years ago
Giovanni Torres
f7520fbbf1
9 years ago
Giovanni Torres
9d954c4fc7
10 years ago
Giovanni Torres
d9adbb6095
10 years ago
Giovanni Torres
5e1b75acdb
10 years ago
Giovanni Torres
1179117f66
10 years ago
Giovanni Torres
1b0af0534f
10 years ago