Revision c259ce64 lib/bootstrap.py
b/lib/bootstrap.py | ||
---|---|---|
196 | 196 |
raise errors.OpPrereqError("Init.d script '%s' missing or not" |
197 | 197 |
" executable." % constants.NODE_INITD_SCRIPT) |
198 | 198 |
|
199 |
# set up the simple store |
|
200 |
ss = ssconf.WritableSimpleStore() |
|
201 |
ss.SetKey(ss.SS_HYPERVISOR, hypervisor_type) |
|
202 |
ss.SetKey(ss.SS_MASTER_NODE, hostname.name) |
|
203 |
ss.SetKey(ss.SS_MASTER_IP, clustername.ip) |
|
204 |
ss.SetKey(ss.SS_MASTER_NETDEV, master_netdev) |
|
205 |
ss.SetKey(ss.SS_CLUSTER_NAME, clustername.name) |
|
206 |
ss.SetKey(ss.SS_FILE_STORAGE_DIR, file_storage_dir) |
|
207 |
ss.SetKey(ss.SS_CONFIG_VERSION, constants.CONFIG_VERSION) |
|
208 |
|
|
209 | 199 |
# set up the inter-node password and certificate |
210 | 200 |
_InitGanetiServerSetup() |
211 | 201 |
|
Also available in: Unified diff