e35a6e7c73
Put jenkins_master into jenkins::master and jenkins_job_builder into jenkins::job_builder and jenkins_slave into jenkins::slave. Change-Id: Icb0e3071894730c17d8f36f49e9d34979d9c568e Reviewed-on: https://review.openstack.org/11249 Approved: Monty Taylor <mordred@inaugust.com> Reviewed-by: Monty Taylor <mordred@inaugust.com> Tested-by: Jenkins
8 lines
277 B
Bash
Executable File
8 lines
277 B
Bash
Executable File
#!/bin/bash -x
|
|
lvremove -f /dev/main/last_root
|
|
lvrename /dev/main/root last_root
|
|
lvcreate -L20G -s -n root /dev/main/orig_root
|
|
APPEND="`cat /proc/cmdline`"
|
|
kexec -l /vmlinuz --initrd=/initrd.img --append="$APPEND"
|
|
nohup bash -c "sleep 2; kexec -e" </dev/null >/dev/null 2>&1 &
|