The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/2033

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Closes #1586

Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
From 30fa0282583d44eedeac74d205495fe71cdb1c22 Mon Sep 17 00:00:00 2001
From: Tycho Andersen <tycho.ander...@canonical.com>
Date: Wed, 18 May 2016 14:52:55 -0700
Subject: [PATCH] add a `shell` alias by default

Closes #1586

Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
---
 config.go | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/config.go b/config.go
index 8c935c5..ea747eb 100644
--- a/config.go
+++ b/config.go
@@ -81,7 +81,9 @@ var DefaultRemotes = map[string]RemoteConfig{
 var DefaultConfig = Config{
        Remotes:       DefaultRemotes,
        DefaultRemote: "local",
-       Aliases:       map[string]string{},
+       Aliases:       map[string]string{
+               "shell": "exec @ARGS@ -- login -f root",
+       },
 }
 
 // LoadConfig reads the configuration from the config path; if the path does
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to