use super::{run_chroot, Image}; use std::fs; pub fn init_first_boot(img: &Image) -> anyhow::Result<()> { eprintln!("Preparing first boot script ..."); fs::write( img.root.0.join("usr").join("local").join("bin").join("first-boot"), r#"#!/bin/sh set -xe cat <