Skip to content

Commit cd10538

Browse files
committed
increase image size on launch
1 parent 34e2930 commit cd10538

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

democluster/helpers/deploy_local_democluster.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ mkdir -p $HOME/democluster
5959
cat /tmp/cloud-init.yaml | multipass launch -c$(nproc) \
6060
-m4GB \
6161
--mount $HOME/democluster:/nfs/mnt \
62-
-ndemocluster \
62+
-ndemocluster-next \
6363
file://`pwd`/democluster.img \
6464
--cloud-init -
6565

democluster/user-data

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ write_files:
6666

6767
# Accounting
6868
AcctGatherProfileType=acct_gather_profile/influxdb
69-
#AcctGatherInterconnectType=acct_gather_interconnect/sysfs
7069
AcctGatherNodeFreq=10
7170
JobAcctGatherType=jobacct_gather/linux
7271
JobAcctGatherFrequency="task=5"
@@ -78,7 +77,6 @@ write_files:
7877
AccountingStorageHost=@HEADNODE_ADDRESS@
7978
AccountingStorageUser=slurm
8079
AccountingStoragePort=6839
81-
#AccountingStorageTRES=ic/sysfs
8280

8381
# Node Configurations
8482
NodeName=@HEADNODE_HOSTNAME@ NodeAddr=@HEADNODE_ADDRESS@ CPUs=@CPUs@ ThreadsPerCore=@THREADS_PER_CORE@ CoresPerSocket=@CORES_PER_SOCKET@ Sockets=@SOCKETS@ RealMemory=@REAL_MEMORY@
@@ -124,7 +122,6 @@ write_files:
124122
ProfileInfluxDBPass=rats
125123
ProfileInfluxDBUser=slurm
126124
ProfileInfluxDBRTPolicy=three_days
127-
#SysfsInterfaces=lo,ens3
128125

129126
users:
130127
- name: root
@@ -234,6 +231,15 @@ packages:
234231
- influxdb
235232
- influxdb-client
236233

234+
<<<<<<< HEAD
235+
=======
236+
snap:
237+
commands:
238+
0: snap install vantage-agent --channel=stable --classic
239+
1: snap install jobbergate-agent --channel=stable --classic
240+
2: snap install multipass-sshfs
241+
242+
>>>>>>> da9f132 (increase image size on launch)
237243
bootcmd:
238244
- mkdir /run/packer_backup
239245
- mkdir /run/packer_backup/etc

public-scripts/deploy-democluster.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,7 @@ EOF
149149

150150
cat /tmp/cloud-init.yaml | multipass launch -c$(nproc) \
151151
-m4G \
152+
-d8G \
152153
--mount=$HOME/democluster:/nfs/mnt \
153154
-n democluster-`echo "$CLIENT_ID" | sed 's/-[0-9a-f]\{8\}-[0-9a-f]\{4\}-4[0-9a-f]\{3\}-[89abAB][0-9a-f]\{3\}-[0-9a-f]\{12\}//'` \
154155
$IMAGE_ORIGIN \

0 commit comments

Comments
 (0)