~kampka/ubuntu/quantal/lxc/upstart-instance

« back to all changes in this revision

Viewing changes to templates/lxc-ubuntu-cloud.in

  • Committer: Package Import Robot
  • Author(s): Serge Hallyn
  • Date: 2012-08-30 10:05:06 UTC
  • Revision ID: package-import@ubuntu.com-20120830100506-ep8o8prv5cpu7yud
Tags: 0.8.0~rc1-4ubuntu32
* 0204-ubuntu-cloud-userdata-path: Fix broken behavior when a relative
  path is passed into '--userdata' argument.  (LP: #1043582)
* 0205-lxc-ls-manpage-document-two-lines: Document the default two-line
  output format of lxc-ls.  (LP: #1043018)
* lxc-start-ephemeral: support fedora and centos  (LP: #1042431)

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
    exit 1
222
222
fi
223
223
 
224
 
if [ -n "$userdata" -a ! -f "$userdata" ]; then
225
 
    echo "Userdata does not exist"
226
 
    exit 1
 
224
if [ -n "$userdata" ]; then
 
225
    if [ ! -f "$userdata" ]; then
 
226
        echo "Userdata ($userdata) does not exist"
 
227
        exit 1
 
228
    else
 
229
        userdata=`readlink -f $userdata`
 
230
    fi
227
231
fi
228
232
 
229
233
if [ -z "$path" ]; then