{"id":523,"date":"2018-03-01T16:16:00","date_gmt":"2018-03-01T07:16:00","guid":{"rendered":"https:\/\/wp.zassoul.com\/?p=523"},"modified":"2018-03-01T16:16:00","modified_gmt":"2018-03-01T07:16:00","slug":"vyos-1-1-8%e3%81%aeqcow2%e3%82%a4%e3%83%a1%e3%83%bc%e3%82%b8%e3%82%92%e4%bd%9c%e3%82%8b","status":"publish","type":"post","link":"https:\/\/wp.zassoul.com\/?p=523","title":{"rendered":"VyOS-1.1.8\u306eqcow2\u30a4\u30e1\u30fc\u30b8\u3092\u4f5c\u308b"},"content":{"rendered":"<p>\u904e\u53bb, \u5e7e\u5ea6\u304b\u3084\u3063\u305f\u3051\u3069\u6bce\u5ea6\u8a18\u61b6\u304c\u8584\u308c\u3066\u3044\u304f\u306e\u3067\u90fd\u5ea6\u30e1\u30e2\u3092\u6b8b\u3059\u3002<br \/><span style=\"background-color: #cccccc; font-size: x-small;\">(2018\/4\/18\u4fee\u6b63\uff1aMAC\u5468\u308a\u3067<\/span><span style=\"background-color: #cccccc; font-size: x-small;\">\u4e0d\u5177\u5408\u3067\u305f\u306e\u3067\u4fee\u6b63)<\/span><\/p>\n<p>1. iso\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<br \/>2. \u4eee\u60f3\u30c7\u30a3\u30b9\u30af\u4f5c\u6210<br \/>3. KVM\u3067\u8d77\u52d5<br \/>4. VyOS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/><strike>5. sysprep<\/strike><\/p>\n<pre># iso\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<br \/>wget https:\/\/downloads.vyos.io\/release\/1.1.8\/vyos-1.1.8-amd64.iso<br \/># \u4eee\u60f3\u30c7\u30a3\u30b9\u30af\u4f5c\u6210<br \/>qemu-img create -f qcow2 .\/vyos.qcow2 2G<br \/># \u4eee\u60f3\u30c7\u30a3\u30b9\u30af\u6307\u5b9a\u3067\u8d77\u52d5<br \/>virt-install --name vyos118 --disk path=.\/vyos-1.1.8.qcow2 --vcpus=2 --ram 2048 --cdrom=.\/vyos-1.1.8-amd64.iso --os-type=linux  --graphics vnc,listen=0.0.0.0 --noautoconsole<br \/># VyOS\u306b\u30ed\u30b0\u30a4\u30f3<br \/>virsh console vyos118<br \/># \u30a4\u30e1\u30fc\u30b8\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<br \/>system image install<br \/># \u4ee5\u964d, \u300cYes\u300d\u3092\u9023\u6253\u3002\u7d42\u308f\u3063\u305f\u3089reboot\u3057\u3066\u78ba\u8a8d\u3002<br \/># \u518d\u8d77\u52d5\u5f8c, \u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u306bMAC\u306e\u8a18\u8ff0\u304c\u3042\u3063\u305f\u3089\u524a\u9664<br \/>vyos@vyos$ conf<br \/>vyos@vyos# delete interface ethernet eth0 hw_id **<br \/>vyos@vyos# commit<br \/>vyos@vyos# save<br \/>vyos@vyos# exit<br \/><\/pre>\n<p>\u4ee5\u4e0a\u3002<\/p>\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u904e\u53bb, \u5e7e\u5ea6\u304b\u3084\u3063\u305f\u3051\u3069\u6bce\u5ea6\u8a18\u61b6\u304c\u8584\u308c\u3066\u3044\u304f\u306e\u3067\u90fd\u5ea6\u30e1\u30e2\u3092\u6b8b\u3059\u3002(2018\/4\/18\u4fee\u6b63\uff1aMAC\u5468\u308a\u3067\u4e0d\u5177\u5408\u3067\u305f\u306e\u3067\u4fee\u6b63) 1. iso\u30c0\u30a6\u30f3\u30ed\u30fc\u30c92. \u4eee\u60f3\u30c7\u30a3\u30b9\u30af\u4f5c\u62103. KVM\u3067\u8d77\u52d54. VyOS\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb5. \u2026 <span class=\"read-more\"><a href=\"https:\/\/wp.zassoul.com\/?p=523\">\u7d9a\u304d\u3092\u8aad\u3080 &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6,45,41,8],"tags":[],"class_list":["post-523","post","type-post","status-publish","format-standard","hentry","category-it","category-openstack","category-vyos","category-8"],"_links":{"self":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=523"}],"version-history":[{"count":0,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=\/wp\/v2\/posts\/523\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.zassoul.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}