lxc launch ubuntu:bionic hoge -c user.user-data="$(cat config.yml)"
Created
May 24, 2019 05:00
-
-
Save hkwi/77d653504d1295eff47c374e3208d279 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cloud-config | |
# https://dev.mysql.com/doc/mysql-apt-repo-quick-guide/en/#apt-repo-fresh-install | |
packages: | |
- mysql-server | |
apt: | |
sources: | |
mysql.list: | |
source: | | |
deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-apt-config | |
deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-8.0 | |
deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools | |
#deb http://repo.mysql.com/apt/ubuntu/ bionic mysql-tools-preview | |
deb-src http://repo.mysql.com/apt/ubuntu/ bionic mysql-8.0 | |
keyid: 5072E1F5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment