chore: white space clean up
This commit is contained in:
parent
56e1c22e50
commit
f2087c376b
14
README.md
14
README.md
|
|
@ -26,7 +26,7 @@ Quickemu is available in the repositories of the following distros
|
||||||
<tbody>
|
<tbody>
|
||||||
<tr valign="top">
|
<tr valign="top">
|
||||||
<td>
|
<td>
|
||||||
|
|
||||||
[](https://repology.org/project/quickemu/versions)
|
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
|
||||||
|
|
||||||
[](https://repology.org/project/quickgui/versions)
|
status](https://repology.org/badge/vertical-allrepos/quickgui.svg?header=quickgui)](https://repology.org/project/quickgui/versions)
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
|
|
@ -138,8 +138,8 @@ To install via NixOS config:
|
||||||
```nix
|
```nix
|
||||||
# /etc/nixos/configuration.nix
|
# /etc/nixos/configuration.nix
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
environment.systemPackages = with pkgs;
|
environment.systemPackages = with pkgs;
|
||||||
quickemu
|
quickemu
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
@ -302,8 +302,8 @@ with your preferred flavour.
|
||||||
You can also use `quickget` with options to:
|
You can also use `quickget` with options to:
|
||||||
|
|
||||||
``` shell
|
``` shell
|
||||||
# show an OS ISO download URL for {os} {release} [edition]
|
# show an OS ISO download URL for {os} {release} [edition]
|
||||||
quickget --show-iso-url fedora 38 Silverblue
|
quickget --show-iso-url fedora 38 Silverblue
|
||||||
# test if an OS ISO is available for {os} {release} [edition]
|
# test if an OS ISO is available for {os} {release} [edition]
|
||||||
quickget --test-iso-url nixos 23.05 plasma5
|
quickget --test-iso-url nixos 23.05 plasma5
|
||||||
# open an OS distribution homepage in a browser
|
# 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
|
- Install the SPICE WebDAV agent (`spice-webdavd`) in the guest to
|
||||||
enable file sharing.
|
enable file sharing.
|
||||||
|
|
||||||
## Creating macOS Guests 🍏
|
## Creating macOS Guests 🍏
|
||||||
|
|
||||||
`quickget` automatically downloads a macOS recovery image and creates a
|
`quickget` automatically downloads a macOS recovery image and creates a
|
||||||
virtual machine configuration.
|
virtual machine configuration.
|
||||||
|
|
|
||||||
2
quickemu
2
quickemu
|
|
@ -293,7 +293,7 @@ function vm_boot() {
|
||||||
factorCPUCores=$(factor "${GUEST_CPU_CORES}")
|
factorCPUCores=$(factor "${GUEST_CPU_CORES}")
|
||||||
GUEST_CPU_CORES=$(( 2 ** $(echo "${factorCPUCores#*:}" | grep -o '[0-9]' | wc -l) ))
|
GUEST_CPU_CORES=$(( 2 ** $(echo "${factorCPUCores#*:}" | grep -o '[0-9]' | wc -l) ))
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Account for Hyperthreading/SMT.
|
# Account for Hyperthreading/SMT.
|
||||||
if [ -e /sys/devices/system/cpu/smt/control ] && [ "${GUEST_CPU_CORES}" -ge 2 ]; then
|
if [ -e /sys/devices/system/cpu/smt/control ] && [ "${GUEST_CPU_CORES}" -ge 2 ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue