
Part two: configure ubuntu DomU VM and introduce install-devstack-xen.sh Move tools/xen from devstack to os-xenapi which will be the center place to hold some XenServer/XenAPI specify source code. This part is used to configure a DomU VM and install devstack on domu VM Change-Id: I20f4663d987266d6ff6d57c5eb3c4447d51f9162
15 lines
448 B
Bash
Executable File
15 lines
448 B
Bash
Executable File
#!/bin/bash
|
|
set -eux
|
|
|
|
# Need to set barrier=0 to avoid a Xen bug
|
|
# https://bugs.launchpad.net/ubuntu/+source/linux/+bug/824089
|
|
sed -i -e 's/errors=/barrier=0,errors=/' /etc/fstab
|
|
|
|
# Allow root to login with a password
|
|
sed -i -e 's/.*PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config
|
|
|
|
# Install the XenServer tools so IP addresses are reported
|
|
wget --no-proxy @XS_TOOLS_URL@ -O /root/tools.deb
|
|
dpkg -i /root/tools.deb
|
|
rm /root/tools.deb
|