Skip to content

Instantly share code, notes, and snippets.

@techzhou
techzhou / clash.yml
Last active February 22, 2023 01:30
proxies:
proxy-groups:
- name: 🚀 节点选择
type: select
use:
- All
proxies:
- ♻️ 自动选择
- 🔯 故障转移
percona-apt:
cmd:
- run
- name: apt-key adv --keyserver keys.gnupg.net --recv-keys 1C4CBDCDCD2EFD2A
- unless: apt-key list | grep -q 1C4CBDCDCD2EFD2A
/etc/apt/sources.list.d/percona.list:
file:
- managed
- source: salt://mysql/percona.list
base:
'*':
- apt
- timezone
'db':
- mysql
'redis':
- redis
'fdfs':
- fastdfs
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "db" do |db|
db.vm.box = "precise"
db.vm.hostname = "db"