Commit Graph

329 Commits

Author SHA1 Message Date
Martin Wimpress
d785c89a38 Add distro, kernel and CPU details to start up messages. Close #96 2021-10-18 16:26:48 +01:00
Martin Wimpress
c3b3f4ee86 Get partial USB SPICE redirection working on macOS. Close #120 2021-10-18 15:33:06 +01:00
Martin Wimpress
c0f03e6c9c Improve greetings messages 2021-10-18 13:01:18 +01:00
Martin Wimpress
15c1635a15 Add issue template 2021-10-18 13:01:18 +01:00
Martin Wimpress
d403df3e50 Update greetings workflow 2021-10-18 13:01:18 +01:00
Attila Pinter
f33892c62d adding openSUSE MicroOS only 2021-10-18 13:01:04 +01:00
Philipp Kiemle
a421c65351 Github Actions: Add Greeter for 1st Issue and 1st PR 2021-10-18 12:29:51 +01:00
Cat Lee Ball
92adf69847 Add shallow clone flag to install section
Just adding `--depth=1` to the git clone command for folks copy-pasting the install directions. Figured it might save users a few bits of disk and network usage that they might not otherwise think about.
2021-10-18 11:48:18 +01:00
Yannick Mauray
2911835187 Added linuxmint support
quickget supports linuxmint cinnamon 20.2, MATE 20.2, and xfce 20.2
2021-10-18 11:44:23 +01:00
Yannick Mauray
b4b69b8574
Added openSUSE support (#113) 2021-10-16 19:27:45 +01:00
Yannick Mauray
c5cdb44325
Show list of fedora releases (#112) 2021-10-16 19:09:39 +01:00
Martin Wimpress
2009ffc103
Bump version to 2.2.5 2021-10-16 11:33:57 +01:00
Yannick Mauray
448e8885e7 Unable to start a linux VM.
```
qemu-system-x86_64: -device virtio-vga,xres=,yres=: Parameter 'xres' expects uint64
```

This fixes a typo in the name of the variable used to determine a sane resolution for linux guests.
2021-10-16 10:58:56 +01:00
Martin Wimpress
53e971f5f8
Add Quickemu GUI to README.md 2021-10-16 00:13:59 +01:00
Martin Wimpress
f82fa57231
Update README 2021-10-15 12:57:25 +01:00
Martin Wimpress
d9e3bfd357
Update README so screen and windows size is for Linux guests only. 2021-10-15 02:47:11 +01:00
Martin Wimpress
f75c7f402b
Correct status message for killing VMs 2021-10-15 02:46:15 +01:00
Martin Wimpress
cc397fc088
Only try to coerce the screen resolution of Linux guests
This feature was originally developed for Linux guests. macOS doesn't honur it and not Windows automatically installs all the required drivers it is not required for Windows either.
2021-10-15 02:44:41 +01:00
Martin Wimpress
cc9e13ec81
White space cleanup 2021-10-15 01:45:05 +01:00
Martin Wimpress
1b1197239c
Make sure the VM directory is created before anything is downloaded 2021-10-15 01:44:43 +01:00
Dani Llewellyn
945160abe6 [WINDOWS] Put spice-vdagent etc in unattended.iso
Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
2021-10-15 01:25:15 +01:00
Dani Llewellyn
4a382c5273 [WINDOWS] Add spice vdagent
Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
2021-10-15 01:25:15 +01:00
Dani Llewellyn
e009c3bfd5 [WINDOWS] Add remaining post install steps to unattended setup
* Add USBDK download and install
* Add SPICE-WebDavd download and install
* Update README to remove post install instructions

Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
2021-10-15 01:25:15 +01:00
Dani Llewellyn
79ee4405d6 [WINDOWS] Add missing balloon driver to unattend file
Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
2021-10-15 01:25:15 +01:00
Dani Llewellyn
3749c85017 [WINDOWS] more preinstalled drivers & guest-agent
* Update the autounattend file with the remaining virtio drivers
* Update the autounattend file with an installation step for the guest agent
* Remove obsolete instructions for steps that the autounattend file handles now

Signed-off-by: Dani Llewellyn <diddledani@ubuntu.com>
2021-10-15 01:25:15 +01:00
Avri Chen-Roth
19428db2c7
added gitignore (#99)
* add gitignore

added some relevant ignore rules.
for example
*.qcow2
*.iso

and many more

* tweaked gitignore to be less strict
2021-10-15 01:23:24 +01:00
Avri Chen-Roth
ca2a07461a Initial Fedora Support 2021-10-15 01:22:29 +01:00
Yannick Mauray
840294c16b
Added impish (#106) 2021-10-15 01:20:50 +01:00
Martin Wimpress
f3659e760b
Move 9p mount code outside of the SPICE conditional. Close #85 2021-10-13 04:16:46 +01:00
Martin Wimpress
8b3d64882f
Clearly document the bash 4+ requirement. Close #93 2021-10-13 03:39:40 +01:00
Martin Wimpress
9de5ea19cf
Correct merge error. Close #83 2021-10-13 03:31:10 +01:00
navycatt
018fb1c454
Improvments of port scanning. (#79)
* Fix port scan. Don't send a new line character when scanning.

* Fix port scanning. Possible infinite loop when all range of ports is busy.
Changed port scanning scheme from random to linear because this is the same faster but more predictable.

* Fix port scan. Don't send a new line character when scanning.
echo -n "" for clarity instead of cat < /dev/null

Co-authored-by: navycat <navycat@ultrasparc>
2021-10-09 22:27:47 +01:00
Martin Wimpress
d1afc10857
Detect insufficient RAM for Windows and macOS Close #78
Also changes the RAM allocation for the VM to better attempt a working configuration.
2021-10-09 16:51:30 +01:00
Martin Wimpress
247b3d8a4e
Only check Windows iso SHA1 if a SHA1 is available 2021-10-09 16:32:40 +01:00
Martin Wimpress
7daa5d671a
Double quote DOWNLOAD_INFO when extracting SHA1 2021-10-09 16:26:45 +01:00
Martin Wimpress
5ad176155f
Actually honour requested disk_size 2021-10-09 16:26:06 +01:00
Martin Wimpress
419376757d
Check Windows iso SHA1 #70 2021-10-09 16:10:58 +01:00
Martin Wimpress
fe86d970ec
Try to ensure PUBLIC_TAG stays under 31 chars 2021-10-09 15:42:42 +01:00
Martin Wimpress
6bc4c6202a
Make shellcheck happy 2021-10-09 15:41:53 +01:00
Martin Wimpress
4afaf9b21d
l10n for ~/Public 2021-10-09 15:41:13 +01:00
Martin Wimpress
0d5f393b70
Look for OVMF firmware in common locations. Close #74 Close #75 2021-10-09 15:28:26 +01:00
Martin Wimpress
d2d9bc1f1a
Fix deleting EFI VARS when VM deletion is requested 2021-10-09 15:27:06 +01:00
Martin Wimpress
6d926d66e9
Fix missing ] 2021-10-09 15:22:18 +01:00
Martin Wimpress
6f49efee2f
Correct Samba sharing to use ${PUBLIC} 2021-10-09 14:34:22 +01:00
Martin Wimpress
45b09c1f5e
Bump version to 2.2.4 2021-10-09 14:32:30 +01:00
Martin Wimpress
fd52be1dfb
Do not expose any file sharing if ${PUBLIC} is not set. 2021-10-09 14:32:06 +01:00
Martin Wimpress
ec89223b22
Reinstate sharing ~/Public is smbd is available. Close #76
This is a "bonus item". Samba, specifically smbd, is not a hard requirement of Quickemu, but if present quickemu will enable Samba file sharing.
2021-10-09 14:30:21 +01:00
Martin Wimpress
ca9c01eec2
Bump version to 2.2.3 2021-10-08 15:09:17 +01:00
Martin Tournoij
061c454a82 Deal with systems without xdg-user-dir better
My system doesn't have xdg-user-dir, and shows the following errors on
startup:

	./quickemu: line 828: xdg-user-dir: command not found
	mkdir: cannot create directory '': No such file or directory
	basename: missing operand
	Try 'basename --help' for more information.

	Usage
	quickemu --vm ubuntu.conf

	You can also pass optional parameters
	--delete                : Delete the disk image.
	--display               : Select display backend. 'sdl' (default), 'gtk' or 'spice'
	--shortcut              : Create a desktop shortcut
	--snapshot apply <tag>  : Apply/restore a snapshot.
	--snapshot create <tag> : Create a snapshot.
	--snapshot delete <tag> : Delete a snapshot.
	--snapshot info         : Show disk/snapshot info.
	--status-quo            : Do not commit any changes to disk/snapshot.
	--fullscreen            : Starts VM in full screen mode (Ctl+Alt+f to exit)
	--screen <screen>       : Use specified screen to determine the window size.
	--version               : Print version

From a quick look it should still function correctly, but better to deal
with this case explicitly.

It's only used to get the PUBLIC, which is optional anyway. If I install
it then it just returns ~, at which point it's set to "" anyway.

I also removed it from the list of "requirements" for this reason.

This also deals with an edge case I happened to notice: "xdg-user-dir
PUBLICSHARE" returns "/home/martin/" on my system, whereas $HOME is
"/home/martin", so the equality check fails. This is arguable a problem
in xdg-user-dir, but better to fix it here. This only deals with a
single slash (multiple slashes is harder in bash), which should be
sufficient.
2021-10-08 14:50:45 +01:00
Edward Betts
6332e037a0 Correct a spelling mistake 2021-10-08 14:48:48 +01:00