~lutostag/ubuntu/trusty/maas/1.5.4+keystone

« back to all changes in this revision

Viewing changes to scripts/maas-import-isos

  • Committer: Package Import Robot
  • Author(s): Andres Rodriguez
  • Date: 2013-03-04 11:49:44 UTC
  • mto: This revision was merged to the branch mainline in revision 25.
  • Revision ID: package-import@ubuntu.com-20130304114944-azcvu9anlf8mizpa
Tags: upstream-1.3+bzr1452+dfsg
ImportĀ upstreamĀ versionĀ 1.3+bzr1452+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/env bash
2
 
# Copyright 2012 Canonical Ltd.  This software is licensed under the
3
 
# GNU Affero General Public License version 3 (see the file LICENSE).
4
 
 
5
 
# Compatibility stub.  This script has been replaced by maas-import-pxe-files
6
 
# and if run, will simply call the newer script instead.
7
 
#
8
 
# Expect this script to disappear at some point.  Run maas-import-pxe-files
9
 
# instead.
10
 
 
11
 
# Exit immediately if a command exits with a non-zero status.
12
 
set -o errexit
13
 
# Treat unset variables as an error when substituting.
14
 
set -o nounset
15
 
 
16
 
cat >&2 <<EOF
17
 
 
18
 
Warning: maas-import-isos is obsolete, and will disappear in the future.
19
 
It has been replaced with maas-import-pxe-files.
20
 
 
21
 
Running maas-import-pxe-files now...
22
 
 
23
 
EOF
24
 
 
25
 
maas-import-pxe-files