Skip to content

Instantly share code, notes, and snippets.

@hkwi
Created May 24, 2019 05:00
Show Gist options
  • Save hkwi/77d653504d1295eff47c374e3208d279 to your computer and use it in GitHub Desktop.
Save hkwi/77d653504d1295eff47c374e3208d279 to your computer and use it in GitHub Desktop.
lxc launch ubuntu:bionic hoge -c user.user-data="$(cat config.yml)"
#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