Details
Any ideas how should we start the CLI?
Basically, two options.
First, vyatta style: upon login the user is in the VyOS-specific CLI, where you can do both VyOS and UNIX things.
Second, juniper style: the user is dropped to UNIX shell and can do UNIX things right away or start VyOS-specific shell and do VyOS things there.
Second option is a lot easier to implement, but some people may get confused and try editing configs in /etc/ by hand, with confusing consequences. They already do it in our current CLI once in a while. We can probably mitigate it by making the post-login message tell people what to do.
Answers
I would like entering a basic "vyos" shell as we have now, with options to go into configure, and add an option "shell" to open a shell in a structured way.
also, add a warning when opening a root shell that any changes might not be permanent.
demo"
Welcome to VyOS vyos@router:~$ ? Possible completions: add Add an object to a service clear Clear system information clone Clone an object configure Enter configure mode <snip> set Set operational options shell Open a linux shell show Show system information telnet Telnet to a node traceroute Track network path to node update Update data for a service