yarn init
yarn add --dev typescript \
./package.sh <VM名> <出力するVagrantBoxファイル名> |
a - 1 | |
a - 2 | |
a - 3 | |
b - 4 | |
b - 5 | |
b - 6 | |
c is empty | |
false |
config.vm.synced_folder ".", "/vagrant", type: "nfs" |
# 共有するBoxの場合、Vagrant Boxの鍵をinsecureなmaster keyに置き換えておく | |
curl https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant.pub > ~/.ssh/authorized_keys && \ | |
chmod 740 .ssh && \ | |
chmod 640 .ssh/authorized_keys | |
# sudoして作業するのが面倒なので、 | |
sudo -s | |
# 最新化 | |
apt -qq update && apt -qq -y upgrade && \ | |
apt -y --purge autoremove && apt autoclean && ¥ |
dpkg --list | grep -E -o "linux-image-[0-9]+\.[0-9]+\.[0-9]+-[0-9]+-generic" |
Vagrant was unable to mount VirtualBox shared folders. This is usually | |
because the filesystem "vboxsf" is not available. This filesystem is | |
made available via the VirtualBox Guest Additions and kernel module. | |
Please verify that these guest additions are properly installed in the | |
guest. This is not a bug in Vagrant and is usually caused by a faulty | |
Vagrant box. For context, the command attempted was: | |
mount -t vboxsf -o dmode=755,fmode=644,uid=1000,gid=1000 vagrant /vagrant | |
The error output from the command was: |
==> puppet: Mounting shared folders... | |
puppet: /vagrant => C:/Users/hccpp302/Documents/projects/vagrant-puppet4-oss | |
Vagrant was unable to mount VirtualBox shared folders. This is usually | |
because the filesystem "vboxsf" is not available. This filesystem is | |
made available via the VirtualBox Guest Additions and kernel module. | |
Please verify that these guest additions are properly installed in the | |
guest. This is not a bug in Vagrant and is usually caused by a faulty | |
Vagrant box. For context, the command attempted was: | |
mount -t vboxsf -o uid=900,gid=1000 vagrant /vagrant |
FROM poad/docker-spark:1.6.2 | |
USER root | |
COPY bootstrap.sh /etc/bootstrap.sh | |
RUN chown root.root /etc/bootstrap.sh | |
RUN chmod 700 /etc/bootstrap.sh | |
RUN mkdir /tmp/spark-events |
set CHERE_INVOKING=1 & %ConEmuDrive%\msys64\usr\bin\mintty.exe -i /msys2.ico /usr/bin/bash --login -new_console:d:%ConEmuDrive%\msys64\home\%username% |