-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
246 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
fakemachine | ||
/fakemachine | ||
.*swp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#!/bin/bash | ||
# Create a manpage from the README.md | ||
|
||
# Add header | ||
echo '''% fakemachine(1) | ||
# NAME | ||
fakemachine - fake a machine | ||
''' > fakemachine.md | ||
|
||
# Add README.md | ||
tail -n +2 ../../README.md >> fakemachine.md | ||
|
||
# Some tweaks to the markdown | ||
# Uppercase titles | ||
sed -i 's/^\(##.*\)$/\U\1/' fakemachine.md | ||
|
||
# Remove double # | ||
sed -i 's/^\##/#/' fakemachine.md | ||
|
||
# Create the manpage | ||
pandoc -s -t man fakemachine.md -o fakemachine.1 | ||
|
||
# Resulting manpage can be browsed with groff: | ||
#groff -man -Tascii fakemachine.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
.\" Automatically generated by Pandoc 2.17.1.1 | ||
.\" | ||
.\" Define V font for inline verbatim, using C font in formats | ||
.\" that render this, and otherwise B font. | ||
.ie "\f[CB]x\f[]"x" \{\ | ||
. ftr V B | ||
. ftr VI BI | ||
. ftr VB B | ||
. ftr VBI BI | ||
.\} | ||
.el \{\ | ||
. ftr V CR | ||
. ftr VI CI | ||
. ftr VB CB | ||
. ftr VBI CBI | ||
.\} | ||
.TH "fakemachine" "1" "" "" "" | ||
.hy | ||
.SH NAME | ||
.PP | ||
fakemachine - fake a machine | ||
.PP | ||
Creates a virtual machine based on the currently running system. | ||
.SH SYNOPSIS | ||
.IP | ||
.nf | ||
\f[C] | ||
fakemachine [options] <command to run inside machine> | ||
fakemachine [--help] | ||
\f[R] | ||
.fi | ||
.PP | ||
Application Options: | ||
.IP | ||
.nf | ||
\f[C] | ||
-b, --backend=[auto|kvm|uml|qemu] Virtualisation backend to use (default: auto) | ||
-v, --volume= volume to mount | ||
-i, --image= image to add | ||
-e, --environ-var= Environment variables (use -e VARIABLE:VALUE syntax) | ||
-m, --memory= Amount of memory for the fakemachine in megabytes | ||
-c, --cpus= Number of CPUs for the fakemachine | ||
-s, --scratchsize= On-disk scratch space size (with a unit suffix, e.g. 4G); if unset, | ||
memory backed scratch space is used | ||
--show-boot Show boot/console messages from the fakemachine | ||
|
||
Help Options: | ||
-h, --help Show this help message | ||
\f[R] | ||
.fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
% fakemachine(1) | ||
|
||
# NAME | ||
|
||
fakemachine - fake a machine | ||
|
||
|
||
Creates a virtual machine based on the currently running system. | ||
|
||
# SYNOPSIS | ||
|
||
``` | ||
fakemachine [options] <command to run inside machine> | ||
fakemachine [--help] | ||
``` | ||
|
||
Application Options: | ||
``` | ||
-b, --backend=[auto|kvm|uml|qemu] Virtualisation backend to use (default: auto) | ||
-v, --volume= volume to mount | ||
-i, --image= image to add | ||
-e, --environ-var= Environment variables (use -e VARIABLE:VALUE syntax) | ||
-m, --memory= Amount of memory for the fakemachine in megabytes | ||
-c, --cpus= Number of CPUs for the fakemachine | ||
-s, --scratchsize= On-disk scratch space size (with a unit suffix, e.g. 4G); if unset, | ||
memory backed scratch space is used | ||
--show-boot Show boot/console messages from the fakemachine | ||
Help Options: | ||
-h, --help Show this help message | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.