mirror of
https://github.com/rancher/os.git
synced 2025-09-02 15:24:32 +00:00
Add docker Bash completion for other consoles
This commit is contained in:
@@ -144,6 +144,12 @@ func consoleInitFunc() error {
|
||||
{"/usr/share/ros/os-release", "/etc/os-release"},
|
||||
}
|
||||
|
||||
if _, err := os.Stat(dockerCompletionFile); err == nil {
|
||||
baseSymlink = append(baseSymlink, symlink{
|
||||
dockerCompletionFile, dockerCompletionLinkFile,
|
||||
})
|
||||
}
|
||||
|
||||
if cfg.Rancher.Console == "default" {
|
||||
// add iptables symlinks for default console
|
||||
baseSymlink = append(baseSymlink, []symlink{
|
||||
|
Reference in New Issue
Block a user