Code Review
/
nfvbench.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
24facec77e879c743da60bdc88094a5f5cc6fb5a
[nfvbench.git]
/
nfvbenchvm
/
dib
/
elements
/
nfvbenchvm
/
post-install.d
/
03-copy-rc-local
1
#!/bin/bash
2
3
# Stop on error
4
set -euo pipefail
5
6
# set accurate rc.local file corresponding to current image built
7
if [ $DIB_DEV_IMAGE = "loopvm" ]; then
8
mv /etc/rc.d/rc.local.loopvm /etc/rc.d/rc.local
9
else
10
mv /etc/rc.d/rc.local.generator /etc/rc.d/rc.local
11
fi