Page MenuHomeVyOS Platform

Configurable FQDN at vbash prompt
Closed, WontfixPublicFEATURE REQUEST


Some network administrator use the same router names for routers which have different domain names.

Propose cli command:

set system cli-fqdn


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

Event Timeline

Duplicate of T1310. It worked in 1.2.2 but its not working as expected in 1.2.3 after using vyos-hostsd

Sorry for duplicate, after T1531 seems this feature broken.
Proposed solution: change for vbash PS1='${debian_chroot:+($debian_chroot)}\u@\H:\w\$ ' to PS1='${debian_chroot:+($debian_chroot)}\u@$(hostname -f):\w\$ '

\h is the short hostname, I thought we want to have the full one (\H)

This comment was removed by kroy.
syncer triaged this task as Low priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.

This is not possible as it requires changing the C source code of vyatta-bash during runtime.

More infos: T1310