diff options
author | fmenguy <francoisregis.menguy@orange.com> | 2020-11-16 17:01:33 +0100 |
---|---|---|
committer | fmenguy <francoisregis.menguy@orange.com> | 2021-04-28 11:00:55 +0200 |
commit | 83c4a7885d7c32901ff7335bdbef9d8d9f4417d7 (patch) | |
tree | a9a9a5ed6f6e6ef5eb3413d5d9be809409b8e719 /nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/03-copy-rc-local | |
parent | ffa058dfad5d98c6af50126748cd5798ed7b3d94 (diff) |
NFVBENCH-196: New NFVbench image for generator part (nfvbench and TRex codes inside VM)5.0.0
Change-Id: Id919a1b9dbf5e04b198d022432ed5c64232a27ba
Signed-off-by: fmenguy <francoisregis.menguy@orange.com>
Diffstat (limited to 'nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/03-copy-rc-local')
-rw-r--r-- | nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/03-copy-rc-local | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/03-copy-rc-local b/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/03-copy-rc-local new file mode 100644 index 0000000..3311530 --- /dev/null +++ b/nfvbenchvm/dib/elements/nfvbenchvm/post-install.d/03-copy-rc-local @@ -0,0 +1,8 @@ +#!/bin/bash + +# set accurate rc.local file corresponding to current image built +if [ $DIB_DEV_IMAGE = "loopvm" ]; then + mv /etc/rc.d/rc.local.loopvm /etc/rc.d/rc.local +else + mv /etc/rc.d/rc.local.generator /etc/rc.d/rc.local +fi
\ No newline at end of file |