@@ -19,7 +19,7 @@ source codecarbon/bin/activate
1919sed -i ' s/Timer(self.interval, self._run)/Timer(self.interval\/1000, self._run)/' codecarbon/codecarbon/external/scheduler.py
2020sed -i ' s/logging.Formatter(format, datefmt="%H:%M:%S")/logging.Formatter(format, datefmt=None)/' codecarbon/codecarbon/external/logger.py
2121pip install /tmp/codecarbon
22- ${SUDO_CMD} ln -s /home/nleblond /.local/bin/codecarbon /usr/local/bin/codecarbon
22+ ${SUDO_CMD} ln -s /home/{{ g5k_username }} /.local/bin/codecarbon /usr/local/bin/codecarbon
2323{% endif %}
2424
2525
@@ -33,7 +33,7 @@ git checkout "v0.7.0"
3333cd app-agent
3434cargo build --release --features local_x86
3535${SUDO_CMD} ln -s $( realpath ../target/release/alumet-local-agent) /usr/local/bin/alumet
36- cd /home/nleblond
36+ cd /home/{{ g5k_username }}
3737alumet regen-config
3838{% endif %}
3939
@@ -50,15 +50,15 @@ git checkout "v1.0.1"
5050sed -i ' s/riemann_client = { version = "0.9.0"/riemann_client = { path = "..\/rust-riemann_client"/' Cargo.toml
5151cargo build --release
5252${SUDO_CMD} ln -s $( realpath ./target/release/scaphandre) /usr/local/bin/scaphandre
53- cd /home/nleblond
53+ cd /home/{{ g5k_username }}
5454{% endif %}
5555
5656{% if vjoule_alone || vjoule_and_perf %}
5757cd /tmp
5858wget https://github.com/davidson-consulting/vjoule/releases/download/v1.3.0/vjoule-tools_1.3.0.deb
5959dpkg -i vjoule-tools_1.3.0.deb
6060${SUDO_CMD} systemctl start vjoule_service
61- cd /home/nleblond
61+ cd /home/{{ g5k_username }}
6262
6363${SUDO_CMD} systemctl status vjoule_service
6464sleep 30
0 commit comments