Skip to content

Commit

Permalink
install: label fstab
Browse files Browse the repository at this point in the history
  • Loading branch information
mvo5 committed Mar 12, 2024
1 parent e793d84 commit ce43eb7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/src/install.rs
Original file line number Diff line number Diff line change
Expand Up @@ -644,6 +644,9 @@ async fn initialize_ostree_root_from_self(
}
f.flush()?;

let fstab_path = rootfs.join("etc/fstab");
state.lsm_label(&fstab_path, "/etc/fstab".into(), false)?;

if let Some(contents) = state.root_ssh_authorized_keys.as_deref() {
osconfig::inject_root_ssh_authorized_keys(&root, contents)?;
}
Expand Down

0 comments on commit ce43eb7

Please sign in to comment.