commit | 45e070d862dc247df17fdb7768984b711141e71b | [log] [tgz] |
---|---|---|
author | Sriram Yagnaraman <sriram.yagnaraman@est.tech> | Wed Mar 09 09:40:07 2022 +0000 |
committer | Sriram Yagnaraman <sriram.y@gmail.com> | Mon Mar 14 08:58:08 2022 +0000 |
tree | c250c7c706aec137a9f4297a2033b902967d6550 | |
parent | 423348ff7a651960154c90ff171f551a9b757b17 [diff] |
Bugfix: Fetch the correct root device Ansible/python lists are unordered {{ ansible_devices | first }} and there is no guarantee that we will pick the root partition. This patch uses root mount (/) to obtain the root device. Change-Id: I77a8b73ce21647a61effe614f6d3b4a95c86cff5