summaryrefslogtreecommitdiff
path: root/fabfile
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2015-04-14 12:07:57 +0200
committerLeif Johansson <leifj@sunet.se>2015-04-14 12:07:57 +0200
commitac6b29edd669e28ed384b76368a76d4b592d15d3 (patch)
tree60877151963dd2c09520a79436fab17e883760b1 /fabfile
parente6a171f5c0181c9cac44847f4beb46433b695fa7 (diff)
Diffstat (limited to 'fabfile')
-rw-r--r--fabfile/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/fabfile/__init__.py b/fabfile/__init__.py
index 8db5748..0a79308 100644
--- a/fabfile/__init__.py
+++ b/fabfile/__init__.py
@@ -33,3 +33,6 @@ def newvm(fqdn,ip,domain):
def cp(local,remote):
put(local,remote)
+
+def synci():
+ get("/etc/network/interfaces",local_path="%(host)s/global/overlay/etc/interfaces")