It's UWAweek 16 (1st semester, week 7)

help3007

This forum is provided to promote discussion amongst students enrolled in CITS3007 Secure Coding. If posting a question, it's suggested you check first whether your question is answered in the unit Frequently Asked Questions (FAQ) list, and use the search box (on the right) to see if an answer to your question has already been posted.

Please consider offering answers and suggestions to help other students! And if you fix a problem by following a suggestion here, it would be great if other interested students could see a short "Great, fixed it!"  followup message.

Note that any posts must comply with the UWA Code of Conduct and the UWA Academic Conduct Policy. That means you should (a) treat everyone with respect and courtesy, and (b) not post your solutions to an assessment that's in progress.

If asking a programming question, it's recommended you read How do I ask a good question? If reporting or troubleshooting a bug in software used in the unit, it's recommend you read How to report bugs effectively.
Displaying the 4 articles in this topic
Showing 4 of 40 articles.
Currently 1 other person reading this forum.


 UWA week 11 (1st semester, week 3) ↓
SVG not supported

Login to reply

👍x1
helpful
11:59am Sun 17th Mar, Henuka D.

YESSSSS!!!!!!!! I FINALLY DID IT!!!!!!! WOO!!! :D:D:D Less gooo! πŸ‘‰πŸ‘ΆπŸ‘ˆ

I've been trying this for HOURS!! But what you said was exactly what I was looking for! I didn't realise that the other link that existed in the lab 1 worksheet here showed an alternative method for getting the .qcow2 file.

I didn't bother looking at the link as the hyperlink text literally just said "Using UTM on M-series Mac laptops", something I already knew. I would recommend that there should be more emphasis on the fact that there IS a way to get this working on M-series devices consistently. Perhaps something like "In this link there's a method to get the vagrant image working on UTM/M-series devices but it's uncertain" or something else.

Once I booted it up on UTM there was life!!

P.S. For anyone who's wondering what on earth the username and password needed to log in, they both are vagrant. I was a bit confused there for a second. πŸ˜…


 UWA week 12 (1st semester, week 4) ↓
SVG not supported

Login to reply

👍?
helpful
4:17pm Mon 18th Mar, Henuka D.

WAIT! Less stop!! πŸ‘ˆπŸ˜­πŸ‘‰

By following the instructions on https://cits3007.github.io/labs/lab01-utm.html, the .box file they get us to download is from the libvirt provider (you can see this by looking at the URL for the box, https://app.vagrantup.com/arranstewart/boxes/cits3007-ubuntu2004/versions/0.1.4/ providers/libvirt/ unknown/vagrant.box). When you download the same file by using the virtualbox provider, you end up with the same files that I have been trying to (unsuccessfully, mind you) convert to the mystical .qcow2 format.

The commands on the lab says to use the provider=virtualbox option (see step 5 on lab 1 and look for vagrant up --provider=virtualbox).

This also leads to the terminal showing up with vagrant@ubuntu2004 instead of the typical vagrant@cits3007-ubuntu2004 as seen on my friends' non Apple silicon devices.

Even if there is 2 different providers, if I continue to use the libvirt environment, will I be penalised if I get some weird incompatibility issues that are caused purely because I was using the libvirt development environment???

This issue has been plaguing me for long enough and I need to make sure I have this environment set up so then I can become familiar with coding within it.

I would love some clarification if we'd be allowed to use the libvirt provider or not for projects have both environments be considered for marking as well. This is because us Apple Silicon device users have literally no other viable path to even being fairly assessed in this unit.

Thanks.

P.S. Apparently none of the Ubuntu lab machines allow for logging in or installation of new packages or whatever due to technical skill issues. 🍜😭


SVG not supported

Login to reply

👍?
helpful
12:47pm Tue 19th Mar, Arran S.

"Henuka Daluwatta" [email protected] wrote:

P.S. For anyone who's wondering what on earth the username and password needed to log in, they both are vagrant. I was a bit confused there for a second.

Glad to hear you got things working. I'll add the username and password details to the lab sheet.

Cheers,

Arran


SVG not supported

Login to reply

👍?
helpful
12:48pm Tue 19th Mar, Arran S.

"Henuka Daluwatta" [email protected] wrote:

Even if there is 2 different providers, if I continue to use the libvirt environment, will I be penalised if I get some weird incompatibility issues that are caused purely because I was using the libvirt development environment???

There are no incompatibilities between the libvirt disk image and the virtualbox disk image. They contain exactly the same software packages, running on exactly the same Linux kernel, on exactly the same (virtualised) hardware. The hostname (stored in /etc/hostname) may be different, but that is not something that will affect the compilation of C code.

Cheers

Arran

The University of Western Australia

Computer Science and Software Engineering

CRICOS Code: 00126G
Written by [email protected]
Powered by history
Feedback always welcome - it makes our software better!
Last modified  5:07AM Sep 06 2023
Privacy policy