a33ddb89f1
If you don't want cloud-init, you may need to get a few things from config-drive because you may be operating on a cloud with no DHCP. In that case, simply reading some values from config-drive and writing out either DHCP or static network info, in addition to grabbing ssh keys is helpful. Both Infra and bifrost want this for their images. Co-Authored-By: Gregory Haynes <greg@greghaynes.net> Change-Id: I2746ed256b9783eab058b803130d3ccac484eaeb
24 lines
723 B
Bash
Executable file
24 lines
723 B
Bash
Executable file
#!/bin/bash
|
|
# Copyright (c) 2015 Hewlett-Packard Development Company, L.P.
|
|
#
|
|
# 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.
|
|
|
|
if [ ${DIB_DEBUG_TRACE:-1} -gt 0 ]; then
|
|
set -x
|
|
fi
|
|
set -eu
|
|
set -o pipefail
|
|
|
|
pip install glean
|