Repository navigation
[AVS-lite] Change login prompt - #59
Merged
Merged
Conversation
|
/azp run |
|
No pipelines are associated with this pull request. |
|
/azp run |
|
No pipelines are associated with this pull request. |
sreeiyer-1
marked this pull request as ready for review
October 13, 2026 08:01
Signed-off-by: Sree Iyer <sbiyer@google.com>
|
/azp run |
|
No pipelines are associated with this pull request. |
sonikajindal
approved these changes
Oct 13, 2026
Contributor
Author
A way around this is to set autostart to false in ssh.conf and start ssh from start.sh after hostname-config.sh is called. But this must be not done because any early failure in start.sh will prevent ssh from starting and make the switch inaccessible. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change the login prompt of AVS-lite from admin@docker-alpine-dut to admin@sonic, as for AVS. Used a modified version of https://github.com/sonic-net/sonic-buildimage/blob/master/files/image_config/hostname/hostname-config.sh
Note that the new prompt will appear only for ssh sessions created after the '/usr/bin/hostname-config.sh' is executed. For the ssh sessions created very early, it will still be the old prompt.
Also changed the names of the nodes in the topology files. From docker-alpine-dut to alpine-dut and docker-alpine-ctl to alpine-ctl.
Disabled ipv6 on interfaces to avoid ipv6 packets from randomly increasing the counters
Start :
After arriba and forwarding tests :