Page MenuHomeVyOS Platform

Configurable FQDN at vbash prompt
Closed, WontfixPublicFEATURE REQUEST

Description

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

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?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Unknown Object (User) created this task.Sep 28 2019, 6:21 PM

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

Unknown Object (User) added a comment.Sep 29 2019, 12:39 PM

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.

https://github.com/vyos/vyatta-cfg/commit/2b2010c42b827e7d119d962c7f4a1bc00900800a

More infos: T1310

erkin set Issue type to Feature (new functionality).Aug 31 2021, 6:41 PM