rust-lxc 1.0.0

`rust-lxc` is a Rust bindings for LXC
Documentation
1
2
3
4
5
6
7
8
use anyhow::Result;
use crate::lxc::lxc_create;

pub fn run(name: &str, template: &str) -> Result<()> {
    lxc_create(name, template)?;
    println!("Container {} created with template {}", name, template);
    Ok(())
}