git.annexia.org
/
libguestfs-talks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add tech introductions.
[libguestfs-talks.git]
/
2019-tech-introductions
/
4400-nbdsh-example.term
diff --git a/2019-tech-introductions/4400-nbdsh-example.term
b/2019-tech-introductions/4400-nbdsh-example.term
new file mode 100755
(executable)
index 0000000..
8be607b
--- /dev/null
+++ b/
2019-tech-introductions/4400-nbdsh-example.term
@@ -0,0
+1,13
@@
+#!/bin/bash
+
+source functions
+
+# Title.
+export title="nbdsh example"
+
+# History.
+remember 'nbdkit memory 1M'
+remember "nbdsh --connect nbd://localhost -c 'print(h.get_size())'"
+
+./restore
+terminal