command/server: can set advertise addr

This commit is contained in:
Mitchell Hashimoto
2015-04-17 11:25:20 -07:00
parent 75a319d767
commit bac7049996
4 changed files with 17 additions and 7 deletions

View File

@@ -94,6 +94,7 @@ func (c *ServerCommand) Run(args []string) int {
// Initialize the core
core, err := vault.NewCore(&vault.CoreConfig{
AdvertiseAddr: config.Backend.AdvertiseAddr,
Physical: backend,
AuditBackends: c.AuditBackends,
CredentialBackends: c.CredentialBackends,