{"id":49,"date":"2017-08-21T13:06:57","date_gmt":"2017-08-21T04:06:57","guid":{"rendered":"http:\/\/ito-u-oti.com\/?p=49"},"modified":"2018-05-18T17:51:14","modified_gmt":"2018-05-18T08:51:14","slug":"post-49","status":"publish","type":"post","link":"https:\/\/ito-u-oti.com\/?p=49","title":{"rendered":"\u65b0\u898f\u306evagrant\u3092\u7acb\u3061\u4e0a\u3052\u308b\u3068\u304d\u306b\u3001\u5225\u306eOS\u306ebox\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u69cb\u6210\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u8a71"},"content":{"rendered":"<h2 id=\"outline__1\">\u65b0\u898f\u306evagrant\u3092\u7acb\u3061\u4e0a\u3052\u308b\u3068\u304d\u306b\u3001\u5225\u306eOS\u306ebox\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u69cb\u6210\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u306b\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u8a71<\/h2>\n<h3 id=\"outline__1_1\">\u4e8b\u8c61<\/h3>\n<p>Vagrant\u3092\u65b0\u898f\u3067\u7acb\u3061\u4e0a\u3052\u308b\u6642\u306b\u3001\u5225\u306eOS\u306ebox\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u69cb\u6210\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u306b\u30a8\u30e9\u30fc\u304c\u767a\u751f<\/p>\n<h3 id=\"outline__1_2\">\u30a8\u30e9\u30fc\u5185\u5bb9<\/h3>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\n    default: SSH address: 127.0.0.1:11020\r\n    default: SSH username: vagrant\r\n    default: SSH auth method: private key\r\nTimed out while waiting for the machine to boot. This means that\r\nVagrant was unable to communicate with the guest machine within\r\nthe configured (&quot;config.vm.boot_timeout&quot; value) time period.\r\n\r\nIf you look above, you should be able to see the error(s) that\r\nVagrant had when attempting to connect to the machine. These errors\r\nare usually good hints as to what may be wrong.\r\n\r\nIf you're using a custom box, make sure that networking is properly\r\nworking and you're able to connect to the machine. It is a common\r\nproblem that networking isn't setup properly in these boxes.\r\nVerify that authentication configurations are also setup properly,\r\nas well.\r\n\r\nIf the box appears to be booting properly, you may want to increase\r\nthe timeout (&quot;config.vm.boot_timeout&quot;) value.\r\n<\/pre>\n<p>\u307e\u305f\u3001vagrant port\u30b3\u30de\u30f3\u30c9\u3067\u4ee5\u4e0b\u306e\u30a8\u30e9\u30fc\u3092\u51fa\u529b<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nThere are errors in the configuration of this machine. Please fix\r\nthe following errors and try again:\r\n\r\nvm:\r\n* A box must be specified.\r\n* Forwarded port definitions require a &quot;host&quot; and &quot;guest&quot; value\r\n* Ports to forward must be 1 to 65535\r\n* Ports to forward must be 1 to 65535\r\n* Ports to forward must be 1 to 65535\r\n* Ports to forward must be 1 to 65535\r\n* Ports to forward must be 1 to 65535\r\n* Ports to forward must be 1 to 65535\r\n* Ports to forward must be 1 to 65535\r\n\r\nshell provisioner:\r\n* Shell provisioner `args` must be a string or array.\r\n<\/pre>\n<h3 id=\"outline__1_3\">\u539f\u56e0<\/h3>\n<p>\u3069\u3046\u3084\u3089\u3001OS\u3092box\u30d5\u30a1\u30a4\u30eb\u304b\u3089\u6301\u3063\u3066\u304d\u305f\u3068\u304d\u306e\u5143\u306eSSH\u8a2d\u5b9a\u304c\u65e2\u306b\u3042\u3063\u3066\u3001\u305d\u308c\u304c\u65b0\u898fvagrant\u5411\u3051\u306b\u8a2d\u5b9a\u3057\u305fSSH\u306e\u8a2d\u5b9a\u3068\u7af6\u5408\u3057\u3066\u3044\u305f\u3089\u3057\u3044\u30fb\u30fb\uff1f<\/p>\n<h3 id=\"outline__1_4\">\u89e3\u6c7a\u7b56<\/h3>\n<p>vagrantfile\u306b\u4ee5\u4e0b\u3092\u8ffd\u8a18<\/p>\n<pre class=\"brush: plain; title: ; notranslate\" title=\"\">\r\nconfig.vm.provider &quot;virtualbox&quot; do |vb|\r\n    vb.customize &#x5B;&quot;modifyvm&quot;, :id, &quot;--cableconnected1&quot;, &quot;on&quot;]\r\n  end\r\n<\/pre>\n<blockquote><p>&#8211;cableconnected&lt;1-N&gt; on|off:<br \/>\n\u5b9f\u969b\u306b\u3042\u308b\u304b\u306e\u3088\u3046\u306b\u3001\u4eee\u60f3\u30cd\u30c3\u30c8\u30ef\u30fc\u30af\u30ab\u30fc\u30c9\u306e\u30b1\u30fc\u30d6\u30eb\u3092\u629c\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<br \/>\n\u3053\u308c\u306f\u3001\u4eee\u60f3\u30de\u30b7\u30f3\u5185\u306e\u7279\u5b9a\u306e\u30bd\u30d5\u30c8\u30a6\u30a7\u30a2\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u30ea\u30bb\u30c3\u30c8\u3059\u308b\u305f\u3081\u306e\u5f79\u306b\u7acb\u3064\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u3002<\/p><\/blockquote>\n<h3 id=\"outline__1_5\">\u53c2\u8003\u306b\u3057\u305f\u30b5\u30a4\u30c8<\/h3>\n<p><a href=\"http:\/\/qiita.com\/is_ryo\/items\/d67d29fc56cf3cd07199\">Vagrant UP\u6642\u306bSSH auth method: private key\uff65\uff65\uff65\u3067\u8a70\u307e\u3063\u305f\u8a71<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u65b0\u898f\u306evagrant\u3092\u7acb\u3061\u4e0a\u3052\u308b\u3068\u304d\u306b\u3001\u5225\u306eOS\u306ebox\u30d5\u30a1\u30a4\u30eb\u3092\u4f7f\u3063\u3066\u69cb\u6210\u3057\u3088\u3046\u3068\u3057\u305f\u3068\u304d\u306b\u30a8\u30e9\u30fc [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":95,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,7],"tags":[19,18,20,17],"class_list":["post-49","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-vagrant","category-error-bugs","tag-box","tag-os","tag-ssh","tag-vagrant"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/49","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=49"}],"version-history":[{"count":5,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions"}],"predecessor-version":[{"id":552,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/posts\/49\/revisions\/552"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=\/wp\/v2\/media\/95"}],"wp:attachment":[{"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=49"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=49"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ito-u-oti.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=49"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}