brainy-forest-39638
08/28/2022, 8:37 PMconst d = lib.Network.get("default", "f5cd7f9e-5fb9-44b1-9d97-98019db8db9b");
little-cartoon-10569
08/28/2022, 8:44 PMpulumi up
?brainy-forest-39638
08/28/2022, 8:45 PMlittle-cartoon-10569
08/28/2022, 8:46 PMbrainy-forest-39638
08/28/2022, 8:47 PMconst cluster = new lib.Pool("cluster", {
type: "dir",
path: "/home/user/cluster_storage",
});
little-cartoon-10569
08/28/2022, 8:48 PMbrainy-forest-39638
08/28/2022, 8:49 PMlittle-cartoon-10569
08/28/2022, 8:50 PMbrainy-forest-39638
08/28/2022, 8:52 PMcluster.ts
import * as lib from "@pulumi/libvirt";
const cluster = new lib.Pool("cluster", {
type: "dir",
path: "/home/user/cluster_storage",
});
console.log(cluster);
little-cartoon-10569
08/28/2022, 8:52 PMbrainy-forest-39638
08/28/2022, 8:52 PMnpx ts-node ./cluser.ts
little-cartoon-10569
08/28/2022, 8:53 PMbrainy-forest-39638
08/28/2022, 8:53 PMlittle-cartoon-10569
08/28/2022, 8:53 PMnpx ts-node
. You type pulumi preview
or pulumi up
.brainy-forest-39638
08/28/2022, 8:54 PMlittle-cartoon-10569
08/28/2022, 8:59 PMbrainy-forest-39638
08/28/2022, 9:01 PMlittle-cartoon-10569
08/28/2022, 9:04 PMbrainy-forest-39638
08/28/2022, 9:05 PMbillowy-army-68599
08/28/2022, 9:05 PMlittle-cartoon-10569
08/28/2022, 9:06 PMbrainy-forest-39638
08/28/2022, 9:06 PMlittle-cartoon-10569
08/28/2022, 9:07 PMbrainy-forest-39638
08/28/2022, 9:08 PMlittle-cartoon-10569
08/28/2022, 9:08 PMbrainy-forest-39638
08/28/2022, 9:10 PMlittle-cartoon-10569
08/28/2022, 9:15 PM