virt-manager/virtinst
Fabiano Fidêncio d5af67d077 installer: add support for windows unattended install
The Windows unattended installation is quite similar to the Linux one
with a few major differences:
- It uses floppy injection instead of initrd injection
  - Yes, it does. Then we have to create a floppy, add the device and,
    when finishing the installation, remove the device;
- There's no InstallerTreeMedia in the game making us end up duplicating
  some code in the Installer class as:
  - keeping track of files that have to be cleanup up;
  - actually cleaning up the files;
  - generating the install script

Apart from that, some obvious differences in the scripts where already
done in a previous commit, but those were basically:
- Not using /dev/*da as a target disk, but use "C" instead;
- Set the product-key
- Explicitly set the injection method as "floppy"

Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
2019-04-01 16:28:52 -04:00
..
devices Fix a couple new pylint warnings 2019-04-01 16:18:00 -04:00
domain domain: cpu: automatically add CPU security features for "custom" mode 2019-03-19 13:45:49 +01:00
__init__.py guest: Add find_device to Guest 2019-02-07 17:36:10 -05:00
capabilities.py domcapabilities: get list of CPU models from domcapabilities 2019-03-19 13:41:53 +01:00
cli.py unattended: Add product-key to Unattended data 2019-04-01 16:28:52 -04:00
cloner.py cloner: don't fail to clone VM if nvram file doesn't exist 2019-03-28 16:07:13 +01:00
connection.py virtinst: Remove stable_defaults concept 2018-10-06 19:45:51 -04:00
diskbackend.py diskbackend: Fix backtrace cloning with block storage (bz #1661986) 2019-01-10 12:58:43 -05:00
domcapabilities.py domcapabilities: introduce get_cpu_security_features 2019-03-19 13:45:49 +01:00
floppyinject.py Add perform_floppy_injections() 2019-04-01 16:28:52 -04:00
guest.py guest: Add default RNG to s390x guests 2019-03-21 14:16:28 -04:00
hostkeymap.py hostkeymap: Fix sanitize_keymap on python3 2018-06-12 14:07:50 -04:00
initrdinject.py Remove Author lines from file headers 2019-01-08 11:45:35 -05:00
installer.py installer: add support for windows unattended install 2019-04-01 16:28:52 -04:00
installertreemedia.py installertreemedia: Add requires_internet() 2019-03-28 15:56:44 -04:00
interface.py Remove Author lines from file headers 2019-01-08 11:45:35 -05:00
kernelupload.py kernelupload: Don't mark internal error as translatable (bz #1688101) 2019-03-15 13:44:05 -04:00
network.py Remove Author lines from file headers 2019-01-08 11:45:35 -05:00
nodedev.py Remove Author lines from file headers 2019-01-08 11:45:35 -05:00
osdict.py osdict: Fix OsMedia::requires_internet() logic 2019-04-01 15:01:04 -04:00
pollhelpers.py Fix copyright header to specify GPLv2 or later, not GPLv2 only. 2018-04-04 16:51:37 -04:00
progress.py progress: Remove commented out code 2018-11-12 08:34:55 -05:00
snapshot.py Remove Author lines from file headers 2019-01-08 11:45:35 -05:00
storage.py storage: more logging when we look up default pool 2019-03-26 11:16:14 -04:00
support.py domcapabilities: get list of CPU models from domcapabilities 2019-03-19 13:41:53 +01:00
unattended.py unattended: Adapt for Windows 2019-04-01 16:28:52 -04:00
uri.py Fix URI parsing when username contains @ sign 2018-04-17 15:14:44 -04:00
urldetect.py urldetect: return osdict.py:OsMedia instead of Libosinfo.Media 2019-03-28 15:56:44 -04:00
urlfetcher.py urlfetcher: Don't print isoinfo errors to stderr 2019-02-03 12:05:18 -05:00
util.py cli: Don't error on --disk size=X with missing --name 2019-03-05 16:38:22 -05:00
xmlapi.py xmlapi: add set_prop 2019-03-06 13:13:13 -05:00
xmlbuilder.py Remove Author lines from file headers 2019-01-08 11:45:35 -05:00