From: Daniel Baumann Date: Tue, 31 Jul 2012 14:01:21 +0000 (+0200) Subject: Simplify information message X-Git-Tag: lxc-0.8.0~55 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=98a02fae03afdd0f04a7a9c48ab56688f1677a24;p=thirdparty%2Flxc.git 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 --- 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 $*