Fix build issue caused by pip error (10.0.1)
Change-Id: Ie36d8d5068c4a6dd3d2efc1c4adcb6ab723c4f06
This commit is contained in:
parent
295edde7ce
commit
4a0f595d02
@ -21,6 +21,7 @@ RUN apt-get update && apt-get install -y \
|
|||||||
python-dev \
|
python-dev \
|
||||||
python-pip \
|
python-pip \
|
||||||
&& pip install -U -q pip \
|
&& pip install -U -q pip \
|
||||||
|
&& hash -r pip \
|
||||||
&& pip install -U -q setuptools \
|
&& pip install -U -q setuptools \
|
||||||
&& cd /kloudbuster \
|
&& cd /kloudbuster \
|
||||||
&& pip install -q -e . \
|
&& pip install -q -e . \
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
pip install --upgrade pip
|
pip install --upgrade pip
|
||||||
|
hash -r pip
|
||||||
pip install setuptools wheel
|
pip install setuptools wheel
|
||||||
|
@ -5,7 +5,7 @@ cloudcfg = "/etc/cloud/cloud.cfg"
|
|||||||
user = "cloud-user"
|
user = "cloud-user"
|
||||||
|
|
||||||
with open(cloudcfg) as f:
|
with open(cloudcfg) as f:
|
||||||
cfg = safe_yaml.load(f)
|
cfg = yaml.safe_load(f)
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if cfg['system_info']['default_user']['name']:
|
if cfg['system_info']['default_user']['name']:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user