chore: Use consistent syntax for getting information from os-release
Please tell me if I escaped quotes correctly in `drivers.rs`
This commit is contained in:
parent
78959eff54
commit
974ba34225
3 changed files with 3 additions and 3 deletions
|
|
@ -282,7 +282,7 @@ fn get_version_run_image(oci_ref: &Reference) -> Result<u64> {
|
|||
.args(bon::vec![
|
||||
"/bin/bash",
|
||||
"-c",
|
||||
"grep -Po '(?<=VERSION_ID=)\\d+' /usr/lib/os-release",
|
||||
r#"awk -F= '/^VERSION_ID=/ {gsub(/"/, "", $2); print $2}' /usr/lib/os-release"#,
|
||||
])
|
||||
.pull(true)
|
||||
.remove(true)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue