2013-12-02 15:10:02 -08:00
|
|
|
#!/bin/bash -xe
|
|
|
|
|
|
|
|
# Copyright (C) 2011-2013 OpenStack Foundation
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
|
|
|
|
HOSTNAME=$1
|
2014-02-11 14:17:42 -08:00
|
|
|
SUDO='true'
|
2014-04-22 15:16:18 -07:00
|
|
|
THIN='false'
|
2014-02-26 11:44:45 -08:00
|
|
|
PYTHON3='false'
|
|
|
|
PYPY='false'
|
|
|
|
ALL_MYSQL_PRIVS='true'
|
2013-12-02 15:10:02 -08:00
|
|
|
|
2014-04-22 15:16:18 -07:00
|
|
|
./prepare_node.sh "$HOSTNAME" "$SUDO" "$THIN" "$PYTHON3" "$PYPY" "$ALL_MYSQL_PRIVS"
|
2014-02-19 09:03:19 -08:00
|
|
|
|
2014-03-05 14:33:39 -08:00
|
|
|
./restrict_memory.sh
|