summaryrefslogtreecommitdiff
path: root/byteback-setup-client
diff options
context:
space:
mode:
authorMatthew Bloch <matthew@bytemark.co.uk>2014-12-04 18:04:17 +0000
committerMatthew Bloch <matthew@bytemark.co.uk>2014-12-04 18:04:17 +0000
commita7162ddb80be70443d5617cac5d71ce6521e9f42 (patch)
treebd31bd313c282bae3f05868115db66f05b9cab77 /byteback-setup-client
parent2fb6dde5a5bf3d7090d2a4b8f8770341c9cb3781 (diff)
More small fixes to make sure client setup goes smoothly.
Diffstat (limited to 'byteback-setup-client')
-rwxr-xr-xbyteback-setup-client2
1 files changed, 1 insertions, 1 deletions
diff --git a/byteback-setup-client b/byteback-setup-client
index afcbee4..fb3838a 100755
--- a/byteback-setup-client
+++ b/byteback-setup-client
@@ -60,6 +60,6 @@ key_pub = File.read("/etc/byteback/key.pub").chomp
error "Remote setup didn't work" unless
system("ssh -i /etc/byteback/key -l #{@destination_user} #{@destination_host} byteback-setup-client-receive #{@hostname} #{key_pub}")
-File.open("/etc/byteback/host", "w") { |f| f.print @destination }
+File.open("/etc/byteback/destination", "w") { |f| f.print @destination }
print "Setup worked! To take your first backup run: byteback-backup --verbose\n"