commit | 0d878479caa21c76606e041e18830d03c2d6fec2 | [log] [tgz] |
---|---|---|
author | Ravi Teja <raviteja28031990@gmail.com> | Sun Jul 19 06:46:25 2020 -0500 |
committer | Brad Bishop <bradleyb@fuzziesquirrel.com> | Fri Jul 24 21:06:02 2020 +0000 |
tree | 5c2177be163ca14313c660fa7120b9b6ea556884 | |
parent | 502a72a3b51f9527a0147bce1c099eeb31a71a6a [diff] |
Add support for nbd1 device for dump For Dump offload use-case, we are using nbd1 device this commit is to add support for nbd1 device in state_hook Signed-off-by: Ravi Teja <raviteja28031990@gmail.com> Change-Id: I8b951da9c29ad8bd0639326c87a3f51616de568c
diff --git a/aspeed-layer/recipes-connectivity/jsnbd/jsnbd/state_hook b/aspeed-layer/recipes-connectivity/jsnbd/jsnbd/state_hook index 0df6ff9..3f5a974 100755 --- a/aspeed-layer/recipes-connectivity/jsnbd/jsnbd/state_hook +++ b/aspeed-layer/recipes-connectivity/jsnbd/jsnbd/state_hook
@@ -16,6 +16,9 @@ 0) nbd_device=/dev/nbd0 ;; +1) + nbd_device=/dev/nbd1 + ;; *) echo "invalid config $config" >&2 exit 1