f-41: lab: FRR après deploy.sh puis redémarrage de l'agent, base BGP par l'agent #41
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
ee77d65f28
commit
6c0e05e1e7
3 changed files with 13 additions and 8 deletions
|
|
@ -133,6 +133,9 @@ func userData(p *topology.Plan, n topology.NodePlan, o Options) ([]byte, error)
|
|||
writeFile{Path: FRRScript, Permissions: "0755", Content: frrScript(n)},
|
||||
)
|
||||
steps = append(steps, FRRScript)
|
||||
if n.Role == topology.RoleHypervisor {
|
||||
steps = append(steps, "systemctl restart agent.service")
|
||||
}
|
||||
}
|
||||
if len(steps) > 0 {
|
||||
cfg.WriteFiles = append(cfg.WriteFiles,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue