init: Alfred preferences
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct set {cursor} -delete mp0",
|
||||
"uid" : "C3E03F45-C4EC-4FA0-9D6C-A999B461A838",
|
||||
"name" : "LXC 刪除掛載點",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm terminal {cursor}",
|
||||
"uid" : "446197C9-4BEF-4B52-B8E0-072D6B3B7C10",
|
||||
"name" : "VM Console(VNC\/SPICE)",
|
||||
"keyword" : "qm.console"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>snippetkeywordprefix</key>
|
||||
<string></string>
|
||||
<key>snippetkeywordsuffix</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "proxmox-backup-manager datastore list",
|
||||
"uid" : "E1351925-3A8C-4CF4-8E7E-31A6C64EDAF1",
|
||||
"name" : "proxmox-backup-manager datastore list",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct stop {cursor}",
|
||||
"uid" : "FF8EA2E1-FB22-4186-86B2-AFCFA78A3D42",
|
||||
"name" : "停止 LXC 容器(Proxmox)",
|
||||
"keyword" : "pct.stop"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm stop {cursor}",
|
||||
"uid" : "9FA3E05A-D3A2-4309-836B-946F7211524F",
|
||||
"name" : "停止 VM(強制)",
|
||||
"keyword" : "qm.stop"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm shutdown {cursor}",
|
||||
"uid" : "F37EE7A8-6E40-4B89-AA0E-A338B3A50D0C",
|
||||
"name" : "優雅關機 VM",
|
||||
"keyword" : "qm.shutdown"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pvesm list local-lvm",
|
||||
"uid" : "4F94B76F-621C-4506-9C31-1404D040473E",
|
||||
"name" : "列出 local-lvm 儲存內容",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct destroy {cursor}",
|
||||
"uid" : "A56C37BD-FA02-4B12-8ABA-ED802EBB90D5",
|
||||
"name" : "刪除 LXC 容器",
|
||||
"keyword" : "pct.del"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm destroy {cursor}",
|
||||
"uid" : "7682FCB3-23A8-4777-80F3-E894FC27B003",
|
||||
"name" : "刪除 VM",
|
||||
"keyword" : "qm.del"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pvesh get \/nodes\/pve\/tasks",
|
||||
"uid" : "E02F689D-0908-498D-9B13-F5F5000779D2",
|
||||
"name" : "取得 pve 節點的工作清單",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct start {cursor}",
|
||||
"uid" : "75451ECB-E2B6-4871-A5AD-6902CEE4F74C",
|
||||
"name" : "啟動 LXC 容器",
|
||||
"keyword" : "pct.start"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm start {cursor}",
|
||||
"uid" : "4D832BED-DD06-46FA-8F9E-2957D12B034C",
|
||||
"name" : "啟動 VM",
|
||||
"keyword" : "qm.start"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct exec {cursor} -- bash",
|
||||
"uid" : "95CEF3B0-C83D-487F-B052-741E87308118",
|
||||
"name" : "在容器內跑 bash",
|
||||
"keyword" : "pct.exec.bash"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm snapshot {cursor} snap-{date:yyyyMMdd}",
|
||||
"uid" : "236A0A7F-66A9-4A91-BE72-69E0BC5C2EA8",
|
||||
"name" : "執行 VM Snapshot",
|
||||
"keyword" : "qm.snapshot"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct create {cursor} local:vztmpl\/ubuntu-22.04-standard_*.tar.gz -storage local-lvm -rootfs local-lvm:8 -net0 name=eth0,bridge=vmbr0,ip=dhcp -ostype ubuntu",
|
||||
"uid" : "9173B75B-5109-4150-8727-ECFA8BE24A64",
|
||||
"name" : "建立 LXC 容器(模板)",
|
||||
"keyword" : "pct.create"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm rollback {cursor} snap-{cursor}",
|
||||
"uid" : "632A2B4E-4D07-4BDD-A56C-7209B53FCF86",
|
||||
"name" : "恢復 VM Snapshot",
|
||||
"keyword" : "qm.rollback"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm list",
|
||||
"uid" : "8123EE74-E3D0-4109-BE8A-84063D8FE02A",
|
||||
"name" : "查看 VM 清單",
|
||||
"keyword" : "qm.list"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm status {cursor}",
|
||||
"uid" : "6CC4EEAD-303F-4FCD-8C40-98CBFFDF3048",
|
||||
"name" : "查看 VM 狀態",
|
||||
"keyword" : "qm.status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm config {cursor}",
|
||||
"uid" : "C0E38CAA-3C2B-46F5-8674-BDA85FDC560D",
|
||||
"name" : "查看 VM 設定(Proxmox)",
|
||||
"keyword" : "qm.config"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pveproxy status",
|
||||
"uid" : "909D5524-A0EF-4F90-96E6-7DE8339D8013",
|
||||
"name" : "查看 pveproxy 狀態",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pvesm status",
|
||||
"uid" : "4715A838-21E9-444C-8C07-B69BA5AAF09E",
|
||||
"name" : "查看儲存狀態",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pvecm status",
|
||||
"uid" : "6FD8449A-6F58-4FD1-B823-9F2937FF4B88",
|
||||
"name" : "查看叢集狀態",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct list",
|
||||
"uid" : "3D9307D8-878C-4F26-B0BE-06283057CF94",
|
||||
"name" : "查看所有容器狀態",
|
||||
"keyword" : "pct.list"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct status {cursor}",
|
||||
"uid" : "02C5710D-EB51-499A-8C8D-6E4FA8BF95AB",
|
||||
"name" : "查詢容器狀態(Proxmox LXC)",
|
||||
"keyword" : "pct.status"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct move-volume {cursor} rootfs syno-lvm --delete 1",
|
||||
"uid" : "1D74FF55-C02A-40EF-BEAF-530B382DA5D3",
|
||||
"name" : "移動容器 rootfs 到 syno-lvm 並刪除原卷",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm migrate {cursor} pve-03 --online",
|
||||
"uid" : "A62E2EBB-CAB9-4BC6-A800-CA4CC198ED0D",
|
||||
"name" : "線上遷移虛擬機至 pve-03",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "qm set {cursor} --onboot 1",
|
||||
"uid" : "65F886D7-708F-47EA-8BE7-B21D44558A02",
|
||||
"name" : "設定 VM 開機自啟動",
|
||||
"keyword" : "qm.autostart"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct set {cursor} -memory 4096",
|
||||
"uid" : "E04FCFB9-805B-44C2-AF1A-326777A5E8B1",
|
||||
"name" : "設定容器記憶體為 4096 MB",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct enter {cursor}",
|
||||
"uid" : "1F0BF159-268F-4F90-834D-50A33716D3D1",
|
||||
"name" : "進入 LXC 容器",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct console {cursor}",
|
||||
"uid" : "0A2E4DAA-1519-40B0-B96E-912E761B8808",
|
||||
"name" : "進入容器 Console(LXC)",
|
||||
"keyword" : "pct.console"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct migrate {cursor} pve-02",
|
||||
"uid" : "119C4B5A-0A39-4090-9AB3-5E2B30EBA83A",
|
||||
"name" : "遷移容器至 pve-02",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct reboot {cursor}",
|
||||
"uid" : "8FE3582D-B120-4131-8942-E9A9DB3E0324",
|
||||
"name" : "重新啟動容器",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct set {cursor} --onboot 1",
|
||||
"uid" : "AEA9168C-9FB4-4EC1-8850-744DE406785F",
|
||||
"name" : "開機自動啟動容器",
|
||||
"keyword" : "pct.autostart"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "pct shutdown {cursor}",
|
||||
"uid" : "340AA70B-55B9-4455-9DD0-88D806FC9962",
|
||||
"name" : "關機容器(優雅)",
|
||||
"keyword" : "pct.shutdown"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user