The control domain id of slave nodes in xenserver pools is not 0,
so the old cmd would fail. Change the cmd to fix it.
Change-Id: I2814a1421fd5825d88609057b48fa61254a944cc
Closes-Bug: #1783238
Currently the install script would exit if the host is pooled,
need to modify the script to support install devstack on the
pooled host.
Change-Id: I3ff5c1c62dbc54fd389ed4622ec60c1b07c2f1c8
By default, sudoers has "requiretty" settings. So it will report
the following error when run sudo in non-interactive script:
sudo: sorry, you must have a tty to run sudo
Actually for the operation on journald.conf in $STAGING_DIR doesn't
require sudo. So let's run it without sudo.
Change-Id: Iea8132f329af122c10d963b88f1aa03814da6593
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