chore: white space clean up

This commit is contained in:
Martin Wimpress 2024-04-11 23:43:34 +01:00 committed by Martin Wimpress
parent 56e1c22e50
commit f2087c376b
2 changed files with 8 additions and 8 deletions

View File

@ -26,7 +26,7 @@ Quickemu is available in the repositories of the following distros
<tbody>
<tr valign="top">
<td>
[![Packaging
status of quickemu](https://repology.org/badge/vertical-allrepos/quickemu.svg?header=quickemu)](https://repology.org/project/quickemu/versions)
@ -35,7 +35,7 @@ status of quickemu](https://repology.org/badge/vertical-allrepos/quickemu.svg?he
[![Packaging
status](https://repology.org/badge/vertical-allrepos/quickgui.svg?header=quickgui)](https://repology.org/project/quickgui/versions)
</td>
</tr>
</tbody>
@ -138,8 +138,8 @@ To install via NixOS config:
```nix
# /etc/nixos/configuration.nix
{pkgs, ...}: {
environment.systemPackages = with pkgs;
quickemu
environment.systemPackages = with pkgs;
quickemu
};
}
```
@ -302,8 +302,8 @@ with your preferred flavour.
You can also use `quickget` with options to:
``` shell
# show an OS ISO download URL for {os} {release} [edition]
quickget --show-iso-url fedora 38 Silverblue
# show an OS ISO download URL for {os} {release} [edition]
quickget --show-iso-url fedora 38 Silverblue
# test if an OS ISO is available for {os} {release} [edition]
quickget --test-iso-url nixos 23.05 plasma5
# open an OS distribution homepage in a browser
@ -411,7 +411,7 @@ quickemu --vm debian-bullseye.conf
- Install the SPICE WebDAV agent (`spice-webdavd`) in the guest to
enable file sharing.
## Creating macOS Guests 🍏
## Creating macOS Guests 🍏
`quickget` automatically downloads a macOS recovery image and creates a
virtual machine configuration.

View File

@ -293,7 +293,7 @@ function vm_boot() {
factorCPUCores=$(factor "${GUEST_CPU_CORES}")
GUEST_CPU_CORES=$(( 2 ** $(echo "${factorCPUCores#*:}" | grep -o '[0-9]' | wc -l) ))
fi
# Account for Hyperthreading/SMT.
if [ -e /sys/devices/system/cpu/smt/control ] && [ "${GUEST_CPU_CORES}" -ge 2 ]; then