1
0
mirror of https://github.com/PrivSec-dev/privsec.dev synced 2025-02-20 18:31:35 -05:00

Consistency

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-06-25 10:15:24 -07:00 committed by GitHub
parent fc6c8b3086
commit e69a41c5dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ Generally, any distribution with `chrony` 4.0 or above would work fine. I recomm
You download Fedora Server from their [official website](https://fedoraproject.org/server/download/). You download Fedora Server from their [official website](https://fedoraproject.org/server/download/).
## Setting up the VM ## Setting up the virtual machine
Next, create your Linux VM in UTM. Make sure that you use the QEMU backend (as opposed to Apple Virtualization), set the Network Mode to Emulated VLAN, and port forward port `123/UDP` and `22/TCP`. Next, create your Linux VM in UTM. Make sure that you use the QEMU backend (as opposed to Apple Virtualization), set the Network Mode to Emulated VLAN, and port forward port `123/UDP` and `22/TCP`.
@ -89,7 +89,7 @@ sudo sed -i 's/apply_updates = no/apply_updates = yes\nreboot = when-needed/g' /
sudo systemctl enable --now dnf-automatic.timer sudo systemctl enable --now dnf-automatic.timer
``` ```
## Configuring chrony ## Configuring `chrony`
Next, configure `chrony` to use NTS. On Fedora, the configuration file is `/etc/chrony.conf`. We will use [GrapheneOS's configuration](https://github.com/GrapheneOS/infrastructure/blob/main/chrony.conf) as a reference. Next, configure `chrony` to use NTS. On Fedora, the configuration file is `/etc/chrony.conf`. We will use [GrapheneOS's configuration](https://github.com/GrapheneOS/infrastructure/blob/main/chrony.conf) as a reference.
@ -190,4 +190,4 @@ Finally, follow the [official documentation](https://docs.getutm.app/advanced/re
Note that for some reason, adding the shortcut to "Login Items" alone is not enough - UTM will launch but it will not start the VM. UTM also needs to be added to the list of "Login Items" for this to work properly. You can follow the discussion regarding this on [GitHub](https://github.com/utmapp/UTM/issues/4179#issuecomment-1606041021). Note that for some reason, adding the shortcut to "Login Items" alone is not enough - UTM will launch but it will not start the VM. UTM also needs to be added to the list of "Login Items" for this to work properly. You can follow the discussion regarding this on [GitHub](https://github.com/utmapp/UTM/issues/4179#issuecomment-1606041021).
![macOS login items](/images/macos-login-items.png) ![macOS login items](/images/macos-login-items.png)