modifed to work with CoreOS images