LoginSignup
0
2

More than 3 years have passed since last update.

LaravelのHomesteadのバージョンを固定にする方法

Posted at

Homesteadのバージョンアップのたびにアップデート繰り返すのが面倒なので、バージョン固定したい場合

Homesteadに固定したいバージョンを指定するだけ
今回は8.0.0を指定する。

Homestead.yaml
ip: 192.168.10.10
memory: 2048
cpus: 2
provider: virtualbox
authorize: ~/.ssh/id_rsa.pub
keys:
    - ~/.ssh/id_rsa
folders:
    -
        map: /Users/namizato/app/test
        to: /home/vagrant/code
sites:
    -
        map: homestead.test
        to: /home/vagrant/code/public
databases:
    - homestead
features:
    -
        mariadb: false
    -
        ohmyzsh: false
    -
        webdriver: false
name: test
hostname: test

# 追加
version: 8.0.0

これでvagrant upするだけです。

終わり。

0
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
2