summaryrefslogtreecommitdiffstats
path: root/ovh
diff options
context:
space:
mode:
authortv <tv@xso>2011-08-24 18:05:14 +0200
committertv <tv@xso>2011-08-24 18:05:14 +0200
commit0df128cd79e1557a7916fe1fdb3831a32c624c48 (patch)
tree4a8aad31644fca8fcd4dfc39719def1d12fa8474 /ovh
parentc0bb78e969b25b0aa6aefe615c1ac6dd027d9110 (diff)
ovh soapi: rewrite HOWTO to README
Diffstat (limited to 'ovh')
-rw-r--r--ovh/HOWTO10
-rw-r--r--ovh/README20
2 files changed, 20 insertions, 10 deletions
diff --git a/ovh/HOWTO b/ovh/HOWTO
deleted file mode 100644
index f76cf9c5..00000000
--- a/ovh/HOWTO
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-# Author: tv
-
-cd ovh/soapi
-export KREBS_OVH_USER=...
-export KREBS_OVH_PASS=...
-make install
-zoneExport > /tmp/foo
-$EDITOR /tmp/foo
-zoneImport < /tmp/foo
diff --git a/ovh/README b/ovh/README
new file mode 100644
index 00000000..806f4b0e
--- /dev/null
+++ b/ovh/README
@@ -0,0 +1,20 @@
+#? /bin/sh
+set -euf
+
+# install ovh soapi
+
+cd /path/to/krebscode/painload
+
+make -C ovh/soapi install
+
+# edit the zone
+
+export PATH="$PWD/bin${PATH+:$PATH}"
+export KREBS_OVH_USER=...
+export KREBS_OVH_PASS=...
+
+zoneExport > /tmp/foo
+$EDITOR /tmp/foo
+zoneImport < /tmp/foo
+
+# Have a nice day!^_^