Update signature for QEMU image.
This commit is contained in:
parent
1fdb20c58b
commit
49b1064164
|
@ -174,6 +174,6 @@ $ sudo poweroff
|
|||
## sign QEMU image
|
||||
ssh to QEMU server, find QEMU image dir, sign the QEMU image:
|
||||
```
|
||||
root@debian-9:/opt/images# gpg -b harbian-audit_Debian_9.qcow2
|
||||
root@debian-9:/opt/images# gpg -u samson -b debian9.9-harbian-0910.qcow2
|
||||
```
|
||||
|
||||
|
|
|
@ -24,9 +24,9 @@ passwd: 2wsx#EDC4rfv%TGB6yhn
|
|||
```
|
||||
$ wget https://github.com/hardenedlinux/harbian-audit/blob/master/docs/complianced_image/QEMU/debian9.9-harbian-0910.qcow2.sig
|
||||
$ wget https://github.com/hardenedlinux/harbian-audit/blob/master/docs/complianced_image/QEMU/signature/debian9.9-harbian-0910.qcow2.tar.gz.sig
|
||||
$ gpg --verify debian9.9-harbian-0910.qcow2.tar.gz.sig debian9.9-harbian-0910.qcow2.tar.gz
|
||||
$ gpg -u samson --verify debian9.9-harbian-0910.qcow2.tar.gz.sig debian9.9-harbian-0910.qcow2.tar.gz
|
||||
$ tar -xzvf debian9.9-harbian-0910.qcow2.tar.gz
|
||||
$ gpg --verify debian9.9-harbian-0910.qcow2.sig debian9.9-harbian-0910.qcow2
|
||||
$ gpg -u samson --verify debian9.9-harbian-0910.qcow2.sig debian9.9-harbian-0910.qcow2
|
||||
```
|
||||
|
||||
## Use the QEMU image to create virtual machine
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue