Page MenuHomePhabricator

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?
Perfectly compatible

Event Timeline

Dmitry created this task.Sep 28 2019, 6:21 PM
c-po added a subscriber: c-po.EditedSep 28 2019, 6:27 PM

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

pasik added a subscriber: pasik.Sep 29 2019, 11:23 AM

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\$ '

c-po added a comment.Sep 29 2019, 4:00 PM

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

kroy added a subscriber: kroy.Sep 29 2019, 7:55 PM
This comment was removed by kroy.
syncer assigned this task to c-po.Nov 16 2019, 11:37 PM
syncer triaged this task as Low priority.
syncer edited projects, added VyOS 1.3 Equuleus; removed VyOS 1.2 Crux.
c-po added a comment.EditedDec 1 2019, 9:23 AM

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

More infos: T1310

c-po closed this task as Wontfix.Dec 1 2019, 9:24 AM
c-po moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.Sat, Dec 28, 7:02 PM