diff options
Diffstat (limited to 'ironic_python_agent/shell')
| -rw-r--r-- | ironic_python_agent/shell/__init__.py | 15 | ||||
| -rwxr-xr-x | ironic_python_agent/shell/copy_configdrive_to_disk.sh | 14 | ||||
| -rw-r--r-- | ironic_python_agent/shell/reboot.sh | 14 | ||||
| -rwxr-xr-x | ironic_python_agent/shell/write_image.sh | 14 |
4 files changed, 42 insertions, 15 deletions
diff --git a/ironic_python_agent/shell/__init__.py b/ironic_python_agent/shell/__init__.py deleted file mode 100644 index 2a30de06..00000000 --- a/ironic_python_agent/shell/__init__.py +++ /dev/null @@ -1,15 +0,0 @@ -""" -Copyright 2014 Rackspace, Inc. - -Licensed under the Apache License, Version 2.0 (the "License"); -you may not use this file except in compliance with the License. -You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, -WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -See the License for the specific language governing permissions and -limitations under the License. -""" diff --git a/ironic_python_agent/shell/copy_configdrive_to_disk.sh b/ironic_python_agent/shell/copy_configdrive_to_disk.sh index 2a67389f..e3f08d40 100755 --- a/ironic_python_agent/shell/copy_configdrive_to_disk.sh +++ b/ironic_python_agent/shell/copy_configdrive_to_disk.sh @@ -1,5 +1,19 @@ #!/bin/bash +# Copyright 2013 Rackspace, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + set -e log() { diff --git a/ironic_python_agent/shell/reboot.sh b/ironic_python_agent/shell/reboot.sh index ef9832f5..9d758464 100644 --- a/ironic_python_agent/shell/reboot.sh +++ b/ironic_python_agent/shell/reboot.sh @@ -1,5 +1,19 @@ #!/bin/bash + +# Copyright 2013 Rackspace, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # This script reboots by echoing into /proc/sysrq_trigger. set -e diff --git a/ironic_python_agent/shell/write_image.sh b/ironic_python_agent/shell/write_image.sh index ad68298b..00a85402 100755 --- a/ironic_python_agent/shell/write_image.sh +++ b/ironic_python_agent/shell/write_image.sh @@ -1,5 +1,19 @@ #!/bin/bash + +# Copyright 2013 Rackspace, Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at # +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + # This should work with almost any image that uses MBR partitioning and doesn't already # have 3 or more partitions. |
