Commit 9dbfdfdc authored by Heinz N. Gies's avatar Heinz N. Gies

Update examples

parent 52f9750a
{
"cpu_cap": 100,
"image_uuid": "e022d0f8-5630-11e7-b660-9b2d243d4404",
"image_uuid": "616d4ab2-832c-11e7-9392-784f438c8d54",
"hostname": "test",
"uuid": "fe0b9b05-1f3e-4b11-b0ae-8494bb6ecd53",
"max_physical_memory": 1024,
......
{
"cpu_cap" : 100,
"image_uuid": "ec66180b-f07a-fb57-b9dc-245f97f74e4e",
"image_uuid": "616d4ab2-832c-11e7-9392-784f438c8d54",
"hostname": "stopped",
"uuid" : "00000000-1f3e-4b11-b0ae-8494bb6ecd52",
"max_physical_memory" : 1024,
......
{
"cpu_cap": 100,
"image_uuid": "e022d0f8-5630-11e7-b660-9b2d243d440",
"image_uuid": "616d4ab2-832c-11e7-9392-784f438c8d54",
"hostname": "test; rm -rf /",
"uuid": "fe0b9b05-1f3e-4b11-b0ae-8494bb6ecd53;",
"max_physical_memory": 1024,
......
{
"cpu_cap": 100,
"image_uuid": "1bfac552-6a28-11e7-9a80-002590a63bc7",
"image_uuid": "616d4ab2-832c-11e7-9392-784f438c8d54",
"hostname": "test",
"max_physical_memory": 1024,
"quota": 100,
......
use std::io::Read;
use std::error::Error;
use std::fs::File;
......@@ -46,7 +44,7 @@ fn default_image_dir() -> String {
}
fn default_repo() -> String {
"https://datasets.project-fifo.net/images".to_string()
"https://bsd.project-fifo.net/images".to_string()
}
impl Config {
......
......@@ -3,7 +3,7 @@
use std::error::Error;
use std::process::{Command, Stdio};
use errors::{GenericError, NotFoundError};
use errors::GenericError;
use std::io::Read;
use std::io::copy;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment