From 98a02fae03afdd0f04a7a9c48ab56688f1677a24 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 31 Jul 2012 16:01:21 +0200 Subject: [PATCH] Simplify information message Keeping creation of new containers without previously existing configuration non-interactive and trimm the warning message. Signed-off-by: Serge Hallyn Signed-off-by: Daniel Lezcano --- src/lxc/lxc-create.in | 21 +-------------------- 1 file changed, 1 insertion(+), 20 deletions(-) diff --git a/src/lxc/lxc-create.in b/src/lxc/lxc-create.in index bd9a438ce..acbd4cf9c 100644 --- a/src/lxc/lxc-create.in +++ b/src/lxc/lxc-create.in @@ -266,29 +266,10 @@ if [ ! -z $lxc_template ]; then fi if [ -z "$lxc_config" ]; then - echo - echo "Warning:" - echo "-------" - echo "Usually the template option is called with a configuration" + echo "Note: Usually the template option is called with a configuration" echo "file option too, mostly to configure the network." - echo "eg. lxc-create -n foo -f lxc.conf -t debian" - echo "The configuration file is often:" - echo - echo "lxc.network.type=macvlan" - echo "lxc.network.link=eth0" - echo "lxc.network.flags=up" - echo - echo "or alternatively:" - echo - echo "lxc.network.type=veth" - echo "lxc.network.link=br0" - echo "lxc.network.flags=up" - echo echo "For more information look at lxc.conf (5)" echo - echo "At this point, I assume you know what you do." - echo "Press to continue ..." - read dummy fi ${templatedir}/lxc-$lxc_template --path=$lxc_path/$lxc_name --name=$lxc_name $* -- 2.47.2