Commit Graph

454 Commits

Author SHA1 Message Date
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
Martin Wimpress 60a64b73aa
Make sure the unattended settings directory exists 2021-10-08 14:38:11 +01:00
Martin Wimpress af26f41440
Update README 2021-10-08 03:45:50 +01:00
Martin Wimpress f4599d7666
Only create unattended.iso when it doesn't already exist 2021-10-08 02:42:42 +01:00
Martin Wimpress d7e2407bc9
Correct typo 2021-10-08 02:42:08 +01:00
Martin Wimpress 632f1c682c
Bump version to 2.2.2 2021-10-08 02:04:50 +01:00
Martin Wimpress d191d0da44
Add unattended configuration for Windows 10 and 11
Automates some of the install/configuration steps for Windows 10 and 11, most notably essential drivers and disk formatting.
2021-10-08 02:04:30 +01:00
Martin Wimpress 8106026fd0
Use usb-mouse instead of usb-tablet on FreeBSD 2021-10-07 21:57:22 +01:00
Martin Wimpress cb2a35a736
Update README 2021-10-07 20:30:04 +01:00
Martin Wimpress 4d8e619988
FreeBSD 12 and 13, like Linux, both fully support VirtIO
Treat FreeBSD like Linux for basic optimisation.
2021-10-07 20:29:47 +01:00
Martin Wimpress 1adf80a42e
Refactor FreeBSD support 2021-10-07 16:36:38 +01:00
Martin Wimpress c060214412
Add FreeBSD release prompt 2021-10-07 16:36:10 +01:00
Kai Lyons 0dd26be472
Add FreeBSD support (#62)
* Add releases_freebsd() function

* complete FreeBSD addition

* Add README.md info for FreeBSD

Co-authored-by: Kai Lyons <kailyons@pop-os.localdomain>
2021-10-07 16:22:45 +01:00
Martin Wimpress 5e5b68f4f4
Bump version to 2.2.1 2021-10-07 16:11:58 +01:00
Martin Wimpress d49bcb3452
Always boot macOS via OpenCore 2021-10-07 16:05:10 +01:00
Martin Wimpress 7553e77b11
Improve disk used heuristics. Disk preallocation is disabled by default (again) 2021-10-07 15:56:06 +01:00
Martin Wimpress fcc050ed82
When deleting a disk, also remove the EFI vars 2021-10-07 15:54:24 +01:00
Graham Morrison 96b0c9ebea Update README.md
quick typo pass (came here to fix the first sentence, stayed for the others).
2021-10-07 10:02:42 +01:00
Martin Wimpress 14ef994a01
Update README 2021-10-06 12:00:32 +01:00
Martin Wimpress f70026e886
Update README 2021-10-06 11:13:25 +01:00
Martin Wimpress 90669add62
Bump version to 2.2.0 2021-10-06 11:01:53 +01:00
Martin Wimpress 023185291e
Add TPM support. 2021-10-06 11:01:33 +01:00
Martin Wimpress 042634a801
Update README 2021-10-06 01:03:21 +01:00
Martin Wimpress 1ceccac953
Add Windows 8.1 to README 2021-10-05 23:52:19 +01:00
Martin Wimpress a7508c0feb
Fix multiple Windows release support 2021-10-05 23:51:57 +01:00
Martin Wimpress 80a05b630e
Add Windows 8 support to quickget and refactor Windows 10/11 support 2021-10-05 23:49:03 +01:00