Page MenuHomePhabricator

Configurable FQDN at vbash prompt
Open, Requires assessmentPublicFEATURE REQUEST

Description

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

vyos@r1.example.com:~$
vyos@r1.com.tld:~$

Propose cli command:

set system cli-fqdn

Details

Difficulty level
Unknown (require assessment)
Version
-
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.