multifactor-authentication update fedora version

and yum -> dnf
This commit is contained in:
awokd 2018-02-02 13:28:58 +00:00 committed by GitHub
parent aa2709e6a8
commit 019b577b45
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -67,24 +67,24 @@ Optional Preparation Steps
[minimal Fedora template][FedoraMinimal]. Get it if you haven't already done
so:
[user@dom0 ~]$ sudo qubes-dom0-update qubes-template-fedora-25-minimal
[user@dom0 ~]$ sudo qubes-dom0-update qubes-template-fedora-26-minimal
2. Since we'll be making some modifications, you may want to clone the minimal
template:
[user@dom0 ~]$ qvm-clone fedora-25-minimal fedora-25-min-mfa
[user@dom0 ~]$ qvm-clone fedora-26-minimal fedora-26-min-mfa
3. Since this is going to be a minimal environment in which we run `oathtool`
from the command line, we'll install only a couple of packages:
[user@fedora-25-min-mfa ~]$ su -
[user@fedora-25-min-mfa ~]# yum install oathtool vim-minimal
[user@fedora-25-min-mfa ~]$ poweroff
[user@fedora-26-min-mfa ~]$ su -
[user@fedora-26-min-mfa ~]# dnf install oathtool vim-minimal
[user@fedora-26-min-mfa ~]$ poweroff
4. Create an AppVM and set it to use the TemplateVM we just created:
[user@dom0 ~]$ qvm-create -l black mfa
[user@dom0 ~]$ qvm-prefs -s mfa template fedora-25-min-mfa
[user@dom0 ~]$ qvm-prefs -s mfa template fedora-26-min-mfa
5. Isolate the new AppVM from the network: