VAGRANTFILE_API_VERSION = "2" $script = <<SCRIPT # echo 'Start ShellScript' # タイムゾーンを日本に変更 sudo cp -p /usr/share/zoneinfo/Japan /etc/localtime # AWSのVolumeのリサイズ(デフォルトだと8GBのため) sudo resize2fs /dev/sda1 SCRIPT Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # Box名 config.vm.box = "dummy" # 「vagrant box add」をしなくていいように設定 config.vm.box_url = "https://github.com/mitchellh/vagrant-aws/raw/master/d
![vagrant-awsを使用する際のVagrantファイル詳細 - Qiita](https://cdn-ak-scissors.b.st-hatena.com/image/square/dbcd04fe3d7da02350cd23fd8cbf441d22f6cf78/height=288;version=1;width=512/https%3A%2F%2Fqiita-user-contents.imgix.net%2Fhttps%253A%252F%252Fcdn.qiita.com%252Fassets%252Fpublic%252Farticle-ogp-background-412672c5f0600ab9a64263b751f1bc81.png%3Fixlib%3Drb-4.0.0%26w%3D1200%26mark64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZ3PTk3MiZoPTM3OCZ0eHQ9dmFncmFudC1hd3MlRTMlODIlOTIlRTQlQkQlQkYlRTclOTQlQTglRTMlODElOTklRTMlODIlOEIlRTklOUElOUIlRTMlODElQUVWYWdyYW50JUUzJTgzJTk1JUUzJTgyJUExJUUzJTgyJUE0JUUzJTgzJUFCJUU4JUE5JUIzJUU3JUI0JUIwJnR4dC1hbGlnbj1sZWZ0JTJDdG9wJnR4dC1jb2xvcj0lMjMxRTIxMjEmdHh0LWZvbnQ9SGlyYWdpbm8lMjBTYW5zJTIwVzYmdHh0LXNpemU9NTYmcz03OWJiZjMwMDI3MWU0ZmQ0MDM0OGIzZmYzMDllY2Y1OQ%26mark-x%3D142%26mark-y%3D57%26blend64%3DaHR0cHM6Ly9xaWl0YS11c2VyLWNvbnRlbnRzLmltZ2l4Lm5ldC9-dGV4dD9peGxpYj1yYi00LjAuMCZoPTc2Jnc9NzcwJnR4dD0lNDBzdXRoaW8mdHh0LWNvbG9yPSUyMzFFMjEyMSZ0eHQtZm9udD1IaXJhZ2lubyUyMFNhbnMlMjBXNiZ0eHQtc2l6ZT0zNiZ0eHQtYWxpZ249bGVmdCUyQ3RvcCZzPTAxNjgyNGYxZmVlZmE5ZWRiY2JiMzFlMDIzNWU0NGI4%26blend-x%3D142%26blend-y%3D486%26blend-mode%3Dnormal%26s%3D68450bdcf06b12e9708c067721028f57)