git://git.onelab.eu
/
myplc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
5b43ff1
)
get root ssh pub key path from configuration
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Sat, 24 Oct 2009 12:31:32 +0000
(12:31 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Sat, 24 Oct 2009 12:31:32 +0000
(12:31 +0000)
db-config.d/01-init
patch
|
blob
|
history
diff --git
a/db-config.d/01-init
b/db-config.d/01-init
index
71453a0
..
05c3f37
100644
(file)
--- a/
db-config.d/01-init
+++ b/
db-config.d/01-init
@@
-59,7
+59,7
@@
AddRoleToPerson(10, admin['person_id'])
AddRoleToPerson(20, admin['person_id'])
# Associate root ssh key with the default administrator
-keyfile=
"/etc/planetlab/root_ssh_key.pub"
+keyfile=
plc['root_ssh_key_pub']
person = GetPersons(admin['person_id'])[0]
keys = GetKeys(person['key_ids'])
if os.path.exists(keyfile):