Page MenuHomeVyOS Platform

Change default hostname when deploy from OVA without params.
Closed, ResolvedPublic

Description

In 1.2.4 when we deploy OVA without defined hostname, - default hostname is debian, propose change it to vyos.
https://github.com/vyos/vyos-cloud-init/blob/current/cloudinit/config/cc_vyos.py#L145 replace to

if hostname != '':
    config.set(['system', 'host-name'], value=hostname, replace=True)
else:
    config.set(['system', 'host-name'], value='vyos', replace=True)

Details

Difficulty level
Unknown (require assessment)
Version
1.2.4
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)