17b2bda1a0
Added all of the files from slave_scripts to jenkins_slave. Includes the changes I submitted in https://review.openstack.org/6063 Changed the jobs to use these rather than the ones from openstack-ci. Change-Id: I4bd9e78b3d9c0cbbc6a0b17fc95c60458b06a0f7
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 &
|